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