brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · a5728a5 Raw
67 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * IPWireless 3G PCMCIA Network Driver4 *5 * Original code6 *   by Stephen Blackheath <stephen@blacksapphire.com>,7 *      Ben Martel <benm@symmetric.co.nz>8 *9 * Copyrighted as follows:10 *   Copyright (C) 2004 by Symmetric Systems Ltd (NZ)11 *12 * Various driver changes and rewrites, port to new kernels13 *   Copyright (C) 2006-2007 Jiri Kosina14 *15 * Misc code cleanups and updates16 *   Copyright (C) 2007 David Sterba17 */18 19#ifndef _IPWIRELESS_CS_H_20#define _IPWIRELESS_CS_H_21 22#include <linux/sched.h>23#include <linux/types.h>24 25#include <pcmcia/cistpl.h>26#include <pcmcia/ds.h>27 28#include "hardware.h"29 30#define IPWIRELESS_PCCARD_NAME		"ipwireless"31#define IPWIRELESS_PCMCIA_VERSION	"1.1"32#define IPWIRELESS_PCMCIA_AUTHOR        \33	"Stephen Blackheath, Ben Martel, Jiri Kosina and David Sterba"34 35#define IPWIRELESS_TX_QUEUE_SIZE  26214436#define IPWIRELESS_RX_QUEUE_SIZE  26214437 38#define IPWIRELESS_STATE_DEBUG39 40struct ipw_hardware;41struct ipw_network;42struct ipw_tty;43 44struct ipw_dev {45	struct pcmcia_device *link;46	int is_v2_card;47 48	void __iomem *attr_memory;49 50	void __iomem *common_memory;51 52	/* Hardware context */53	struct ipw_hardware *hardware;54	/* Network layer context */55	struct ipw_network *network;56	/* TTY device context */57	struct ipw_tty *tty;58	struct work_struct work_reboot;59};60 61/* Module parametres */62extern int ipwireless_debug;63extern int ipwireless_loopback;64extern int ipwireless_out_queue;65 66#endif67