0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #ifndef _IPWIRELESS_CS_H_
0020 #define _IPWIRELESS_CS_H_
0021
0022 #include <linux/sched.h>
0023 #include <linux/types.h>
0024
0025 #include <pcmcia/cistpl.h>
0026 #include <pcmcia/ds.h>
0027
0028 #include "hardware.h"
0029
0030 #define IPWIRELESS_PCCARD_NAME "ipwireless"
0031 #define IPWIRELESS_PCMCIA_VERSION "1.1"
0032 #define IPWIRELESS_PCMCIA_AUTHOR \
0033 "Stephen Blackheath, Ben Martel, Jiri Kosina and David Sterba"
0034
0035 #define IPWIRELESS_TX_QUEUE_SIZE 262144
0036 #define IPWIRELESS_RX_QUEUE_SIZE 262144
0037
0038 #define IPWIRELESS_STATE_DEBUG
0039
0040 struct ipw_hardware;
0041 struct ipw_network;
0042 struct ipw_tty;
0043
0044 struct ipw_dev {
0045 struct pcmcia_device *link;
0046 int is_v2_card;
0047
0048 void __iomem *attr_memory;
0049
0050 void __iomem *common_memory;
0051
0052
0053 void *attribute_memory;
0054
0055
0056 struct ipw_hardware *hardware;
0057
0058 struct ipw_network *network;
0059
0060 struct ipw_tty *tty;
0061 struct work_struct work_reboot;
0062 };
0063
0064
0065 extern int ipwireless_debug;
0066 extern int ipwireless_loopback;
0067 extern int ipwireless_out_queue;
0068
0069 #endif