diff options
author | David Sterba <dsterba@suse.cz> | 2008-02-07 04:57:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 20:19:49 -0500 |
commit | 099dc4fb62653f6019d78db55fba7a18ef02d65b (patch) | |
tree | ce488fb0777f722eb83e3b0fb2b5cde0a4a8fc7d /drivers/char/pcmcia/ipwireless/main.h | |
parent | 151db1fc23800875c7ac353b106b7dab77061275 (diff) |
ipwireless: driver for PC Card 3G/UMTS modem
The device is manufactured by IPWireless. In some countries (for
example Czech Republic, T-Mobile ISP) this card is shipped for service
called UMTS 4G.
It's a piece of PCMCIA "4G" UMTS PPP networking hardware that presents
itself as a serial character device (i.e. looks like usual modem to
userspace, accepts AT commands, etc).
Rewieved-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Ben Martel <benm@symmetric.co.nz>
Signed-off-by: Stephen Blackheath <stephen@symmetric.co.nz>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/pcmcia/ipwireless/main.h')
-rw-r--r-- | drivers/char/pcmcia/ipwireless/main.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/drivers/char/pcmcia/ipwireless/main.h b/drivers/char/pcmcia/ipwireless/main.h new file mode 100644 index 000000000000..1bfdcc8d47d6 --- /dev/null +++ b/drivers/char/pcmcia/ipwireless/main.h | |||
@@ -0,0 +1,70 @@ | |||
1 | /* | ||
2 | * IPWireless 3G PCMCIA Network Driver | ||
3 | * | ||
4 | * Original code | ||
5 | * by Stephen Blackheath <stephen@blacksapphire.com>, | ||
6 | * Ben Martel <benm@symmetric.co.nz> | ||
7 | * | ||
8 | * Copyrighted as follows: | ||
9 | * Copyright (C) 2004 by Symmetric Systems Ltd (NZ) | ||
10 | * | ||
11 | * Various driver changes and rewrites, port to new kernels | ||
12 | * Copyright (C) 2006-2007 Jiri Kosina | ||
13 | * | ||
14 | * Misc code cleanups and updates | ||
15 | * Copyright (C) 2007 David Sterba | ||
16 | */ | ||
17 | |||
18 | #ifndef _IPWIRELESS_CS_H_ | ||
19 | #define _IPWIRELESS_CS_H_ | ||
20 | |||
21 | #include <linux/sched.h> | ||
22 | #include <linux/types.h> | ||
23 | |||
24 | #include <pcmcia/cs_types.h> | ||
25 | #include <pcmcia/cs.h> | ||
26 | #include <pcmcia/cistpl.h> | ||
27 | #include <pcmcia/ds.h> | ||
28 | |||
29 | #include "hardware.h" | ||
30 | |||
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" | ||
35 | |||
36 | #define IPWIRELESS_TX_QUEUE_SIZE 262144 | ||
37 | #define IPWIRELESS_RX_QUEUE_SIZE 262144 | ||
38 | |||
39 | #define IPWIRELESS_STATE_DEBUG | ||
40 | |||
41 | struct ipw_hardware; | ||
42 | struct ipw_network; | ||
43 | struct ipw_tty; | ||
44 | |||
45 | struct ipw_dev { | ||
46 | struct pcmcia_device *link; | ||
47 | int is_v2_card; | ||
48 | window_handle_t handle_attr_memory; | ||
49 | void __iomem *attr_memory; | ||
50 | window_handle_t handle_common_memory; | ||
51 | void __iomem *common_memory; | ||
52 | dev_node_t nodes[2]; | ||
53 | /* Reference to attribute memory, containing CIS data */ | ||
54 | void *attribute_memory; | ||
55 | |||
56 | /* Hardware context */ | ||
57 | struct ipw_hardware *hardware; | ||
58 | /* Network layer context */ | ||
59 | struct ipw_network *network; | ||
60 | /* TTY device context */ | ||
61 | struct ipw_tty *tty; | ||
62 | struct work_struct work_reboot; | ||
63 | }; | ||
64 | |||
65 | /* Module parametres */ | ||
66 | extern int ipwireless_debug; | ||
67 | extern int ipwireless_loopback; | ||
68 | extern int ipwireless_out_queue; | ||
69 | |||
70 | #endif | ||