#ifndef _UAPI_ASM_GENERIC_TERMIOS_H
#define _UAPI_ASM_GENERIC_TERMIOS_H
/*
 * Most architectures have straight copies of the x86 code, with
 * varying levels of bug fixes on top. Usually it's a good idea
 * to use this generic version instead, but be careful to avoid
 * ABI changes.
 * New architectures should not provide their own version.
 */

#include <asm/termbits.h>
#include <asm/ioctls.h>

struct winsize {
	unsigned short ws_row;
	unsigned short ws_col;
	unsigned short ws_xpixel;
	unsigned short ws_ypixel;
};

#define NCC 8
struct termio {
	unsigned short c_iflag;		/* input mode flags */
	unsigned short c_oflag;		/* output mode flags */
	unsigned short c_cflag;		/* control mode flags */
	unsigned short c_lflag;		/* local mode flags */
	unsigned char c_line;		/* line discipline */
	unsigned char c_cc[NCC];	/* control characters */
};

/* modem lines */
#define TIOCM_LE	0x001
#define TIOCM_DTR	0x002
#define TIOCM_RTS	0x004
#define TIOCM_ST	0x008
#define TIOCM_SR	0x010
#define TIOCM_CTS	0x020
#define TIOCM_CAR	0x040
#define TIOCM_RNG	0x080
#define TIOCM_DSR	0x100
#define TIOCM_CD	TIOCM_CAR
#define TIOCM_RI	TIOCM_RNG
#define TIOCM_OUT1	0x2000
#define TIOCM_OUT2	0x4000
#define TIOCM_LOOP	0x8000

/* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */


#endif /* _UAPI_ASM_GENERIC_TERMIOS_H */
/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=617f01211bafed65b5cb2fa5b671e839c7f2af86'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/pcmcia/vx/Makefile'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/pcmcia/vx/Makefile?id=617f01211bafed65b5cb2fa5b671e839c7f2af86'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/pcmcia/vx/Makefile?id=617f01211bafed65b5cb2fa5b671e839c7f2af86'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/pcmcia/vx/Makefile?id=617f01211bafed65b5cb2fa5b671e839c7f2af86'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/pcmcia/vx/Makefile'>
<input type='hidden' name='id' value='617f01211bafed65b5cb2fa5b671e839c7f2af86'/><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=617f01211bafed65b5cb2fa5b671e839c7f2af86'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?id=617f01211bafed65b5cb2fa5b671e839c7f2af86'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pcmcia?id=617f01211bafed65b5cb2fa5b671e839c7f2af86'>pcmcia</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pcmcia/vx?id=617f01211bafed65b5cb2fa5b671e839c7f2af86'>vx</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pcmcia/vx/Makefile?id=617f01211bafed65b5cb2fa5b671e839c7f2af86'>Makefile</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/sound/pcmcia/vx/Makefile?id=617f01211bafed65b5cb2fa5b671e839c7f2af86&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>