/*
 * IPWireless 3G PCMCIA Network Driver
 *
 * Original code
 *   by Stephen Blackheath <stephen@blacksapphire.com>,
 *      Ben Martel <benm@symmetric.co.nz>
 *
 * Copyrighted as follows:
 *   Copyright (C) 2004 by Symmetric Systems Ltd (NZ)
 *
 * Various driver changes and rewrites, port to new kernels
 *   Copyright (C) 2006-2007 Jiri Kosina
 *
 * Misc code cleanups and updates
 *   Copyright (C) 2007 David Sterba
 */

#ifndef _IPWIRELESS_CS_TTY_H_
#define _IPWIRELESS_CS_TTY_H_

#include <linux/types.h>
#include <linux/sched.h>

#include <pcmcia/cistpl.h>
#include <pcmcia/ds.h>

struct ipw_tty;
struct ipw_network;
struct ipw_hardware;

int ipwireless_tty_init(void);
void ipwireless_tty_release(void);

struct ipw_tty *ipwireless_tty_create(struct ipw_hardware *hw,
				      struct ipw_network *net);
void ipwireless_tty_free(struct ipw_tty *tty);
void ipwireless_tty_received(struct ipw_tty *tty, unsigned char *data,
			     unsigned int length);
int ipwireless_tty_is_modem(struct ipw_tty *tty);
void ipwireless_tty_notify_control_line_change(struct ipw_tty *tty,
					       unsigned int channel_idx,
					       unsigned int control_lines,
					       unsigned int changed_mask);

#endif
e</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=90c1aff702d449a1a248c4829d51c0bc677f968e'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/media_tests/media_device_open.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/testing/selftests/media_tests/media_device_open.c?id=90c1aff702d449a1a248c4829d51c0bc677f968e'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/testing/selftests/media_tests/media_device_open.c?id=90c1aff702d449a1a248c4829d51c0bc677f968e'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/testing/selftests/media_tests/media_device_open.c?id=90c1aff702d449a1a248c4829d51c0bc677f968e'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/media_tests/media_device_open.c'>
<input type='hidden' name='id' value='90c1aff702d449a1a248c4829d51c0bc677f968e'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=90c1aff702d449a1a248c4829d51c0bc677f968e'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?id=90c1aff702d449a1a248c4829d51c0bc677f968e'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing?id=90c1aff702d449a1a248c4829d51c0bc677f968e'>testing</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests?id=90c1aff702d449a1a248c4829d51c0bc677f968e'>selftests</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/media_tests?id=90c1aff702d449a1a248c4829d51c0bc677f968e'>media_tests</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/media_tests/media_device_open.c?id=90c1aff702d449a1a248c4829d51c0bc677f968e'>media_device_open.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/media_tests/media_device_open.c?id=90c1aff702d449a1a248c4829d51c0bc677f968e&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>