Linux 4.18.10
[linux/fpc-iii.git] / drivers / tty / ipwireless / tty.h
blobec698d9f338bd91ee69ae2db830c1abd7e1c57b9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * IPWireless 3G PCMCIA Network Driver
5 * Original code
6 * by Stephen Blackheath <stephen@blacksapphire.com>,
7 * Ben Martel <benm@symmetric.co.nz>
9 * Copyrighted as follows:
10 * Copyright (C) 2004 by Symmetric Systems Ltd (NZ)
12 * Various driver changes and rewrites, port to new kernels
13 * Copyright (C) 2006-2007 Jiri Kosina
15 * Misc code cleanups and updates
16 * Copyright (C) 2007 David Sterba
19 #ifndef _IPWIRELESS_CS_TTY_H_
20 #define _IPWIRELESS_CS_TTY_H_
22 #include <linux/types.h>
23 #include <linux/sched.h>
25 #include <pcmcia/cistpl.h>
26 #include <pcmcia/ds.h>
28 struct ipw_tty;
29 struct ipw_network;
30 struct ipw_hardware;
32 int ipwireless_tty_init(void);
33 void ipwireless_tty_release(void);
35 struct ipw_tty *ipwireless_tty_create(struct ipw_hardware *hw,
36 struct ipw_network *net);
37 void ipwireless_tty_free(struct ipw_tty *tty);
38 void ipwireless_tty_received(struct ipw_tty *tty, unsigned char *data,
39 unsigned int length);
40 int ipwireless_tty_is_modem(struct ipw_tty *tty);
41 void ipwireless_tty_notify_control_line_change(struct ipw_tty *tty,
42 unsigned int channel_idx,
43 unsigned int control_lines,
44 unsigned int changed_mask);
46 #endif