1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 262144
36 #define IPWIRELESS_RX_QUEUE_SIZE 262144
37
38 #define IPWIRELESS_STATE_DEBUG
39
40 struct ipw_hardware;
41 struct ipw_network;
42 struct ipw_tty;
43
44 struct 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
53 void *attribute_memory;
54
55
56 struct ipw_hardware *hardware;
57
58 struct ipw_network *network;
59
60 struct ipw_tty *tty;
61 struct work_struct work_reboot;
62 };
63
64
65 extern int ipwireless_debug;
66 extern int ipwireless_loopback;
67 extern int ipwireless_out_queue;
68
69 #endif