130692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#ifndef _UAPI_LINUX_TTY_H
230692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define _UAPI_LINUX_TTY_H
330692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
430692c65c4174412c90e79489e98ab85c1a7412fBen Cheng/*
530692c65c4174412c90e79489e98ab85c1a7412fBen Cheng * 'tty.h' defines some structures used by tty_io.c and some defines.
630692c65c4174412c90e79489e98ab85c1a7412fBen Cheng */
730692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
830692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define NR_LDISCS		30
930692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
1030692c65c4174412c90e79489e98ab85c1a7412fBen Cheng/* line disciplines */
1130692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_TTY		0
1230692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_SLIP		1
1330692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_MOUSE		2
1430692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_PPP		3
1530692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_STRIP		4
1630692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_AX25		5
1730692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_X25		6	/* X.25 async */
1830692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_6PACK		7
1930692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_MASC		8	/* Reserved for Mobitex module <kaz@cafe.net> */
2030692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_R3964		9	/* Reserved for Simatic R3964 module */
2130692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_PROFIBUS_FDL	10	/* Reserved for Profibus */
2230692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_IRDA		11	/* Linux IrDa - http://irda.sourceforge.net/ */
2330692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_SMSBLOCK	12	/* SMS block mode - for talking to GSM data */
2430692c65c4174412c90e79489e98ab85c1a7412fBen Cheng				/* cards about SMS messages */
2530692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_HDLC		13	/* synchronous HDLC */
2630692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_SYNC_PPP	14	/* synchronous PPP */
2730692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_HCI		15	/* Bluetooth HCI UART */
2830692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_GIGASET_M101	16	/* Siemens Gigaset M101 serial DECT adapter */
2930692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_SLCAN		17	/* Serial / USB serial CAN Adaptors */
3030692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_PPS		18	/* Pulse per Second */
3130692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_V253		19	/* Codec control over voice modem */
3230692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_CAIF		20      /* CAIF protocol for talking to modems */
3330692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_GSM0710	21	/* GSM 0710 Mux */
3430692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_TI_WL		22	/* for TI's WL BT, FM, GPS combo chips */
3530692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_TRACESINK	23	/* Trace data routing for MIPI P1149.7 */
3630692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define N_TRACEROUTER	24	/* Trace data routing for MIPI P1149.7 */
3730692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
3830692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#endif /* _UAPI_LINUX_TTY_H */
39