2 * IPWireless 3G PCMCIA Network Driver
5 * by Stephen Blackheath <stephen@blacksapphire.com>,
6 * Ben Martel <benm@symmetric.co.nz>
8 * Copyrighted as follows:
9 * Copyright (C) 2004 by Symmetric Systems Ltd (NZ)
11 * Various driver changes and rewrites, port to new kernels
12 * Copyright (C) 2006-2007 Jiri Kosina
14 * Misc code cleanups and updates
15 * Copyright (C) 2007 David Sterba
18 #ifndef _IPWIRELESS_CS_H_
19 #define _IPWIRELESS_CS_H_
21 #include <linux/sched.h>
22 #include <linux/types.h>
24 #include <pcmcia/cs_types.h>
25 #include <pcmcia/cs.h>
26 #include <pcmcia/cistpl.h>
27 #include <pcmcia/ds.h>
31 #define IPWIRELESS_PCCARD_NAME "ipwireless"
32 #define IPWIRELESS_PCMCIA_VERSION "1.1"
33 #define IPWIRELESS_PCMCIA_AUTHOR \
34 "Stephen Blackheath, Ben Martel, Jiri Kosina and David Sterba"
36 #define IPWIRELESS_TX_QUEUE_SIZE 262144
37 #define IPWIRELESS_RX_QUEUE_SIZE 262144
39 #define IPWIRELESS_STATE_DEBUG
46 struct pcmcia_device
*link
;
48 window_handle_t handle_attr_memory
;
49 void __iomem
*attr_memory
;
50 window_handle_t handle_common_memory
;
51 void __iomem
*common_memory
;
53 /* Reference to attribute memory, containing CIS data */
54 void *attribute_memory
;
56 /* Hardware context */
57 struct ipw_hardware
*hardware
;
58 /* Network layer context */
59 struct ipw_network
*network
;
60 /* TTY device context */
62 struct work_struct work_reboot
;
65 /* Module parametres */
66 extern int ipwireless_debug
;
67 extern int ipwireless_loopback
;
68 extern int ipwireless_out_queue
;