First Support on Ginger and OMAP TI
[linux-ginger.git] / drivers / char / pcmcia / ipwireless / tty.h
blobb0deb9168b6b33e9c3e28e3ac062f1186598b385
1 /*
2 * IPWireless 3G PCMCIA Network Driver
4 * Original code
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_TTY_H_
19 #define _IPWIRELESS_CS_TTY_H_
21 #include <linux/types.h>
22 #include <linux/sched.h>
24 #include <pcmcia/cs_types.h>
25 #include <pcmcia/cs.h>
26 #include <pcmcia/cistpl.h>
27 #include <pcmcia/ds.h>
29 struct ipw_tty;
30 struct ipw_network;
31 struct ipw_hardware;
33 int ipwireless_tty_init(void);
34 void ipwireless_tty_release(void);
36 struct ipw_tty *ipwireless_tty_create(struct ipw_hardware *hw,
37 struct ipw_network *net,
38 dev_node_t *nodes);
39 void ipwireless_tty_free(struct ipw_tty *tty);
40 void ipwireless_tty_received(struct ipw_tty *tty, unsigned char *data,
41 unsigned int length);
42 int ipwireless_tty_is_modem(struct ipw_tty *tty);
43 void ipwireless_tty_notify_control_line_change(struct ipw_tty *tty,
44 unsigned int channel_idx,
45 unsigned int control_lines,
46 unsigned int changed_mask);
48 #endif