1607ca46eSDavid Howells #ifndef _UAPI_LINUX_TTY_H 2607ca46eSDavid Howells #define _UAPI_LINUX_TTY_H 3607ca46eSDavid Howells 4607ca46eSDavid Howells /* 5607ca46eSDavid Howells * 'tty.h' defines some structures used by tty_io.c and some defines. 6607ca46eSDavid Howells */ 7607ca46eSDavid Howells 8607ca46eSDavid Howells #define NR_LDISCS 30 9607ca46eSDavid Howells 10607ca46eSDavid Howells /* line disciplines */ 11607ca46eSDavid Howells #define N_TTY 0 12607ca46eSDavid Howells #define N_SLIP 1 13607ca46eSDavid Howells #define N_MOUSE 2 14607ca46eSDavid Howells #define N_PPP 3 15607ca46eSDavid Howells #define N_STRIP 4 16607ca46eSDavid Howells #define N_AX25 5 17607ca46eSDavid Howells #define N_X25 6 /* X.25 async */ 18607ca46eSDavid Howells #define N_6PACK 7 19607ca46eSDavid Howells #define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */ 20607ca46eSDavid Howells #define N_R3964 9 /* Reserved for Simatic R3964 module */ 21607ca46eSDavid Howells #define N_PROFIBUS_FDL 10 /* Reserved for Profibus */ 22607ca46eSDavid Howells #define N_IRDA 11 /* Linux IrDa - http://irda.sourceforge.net/ */ 23607ca46eSDavid Howells #define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data */ 24607ca46eSDavid Howells /* cards about SMS messages */ 25607ca46eSDavid Howells #define N_HDLC 13 /* synchronous HDLC */ 26607ca46eSDavid Howells #define N_SYNC_PPP 14 /* synchronous PPP */ 27607ca46eSDavid Howells #define N_HCI 15 /* Bluetooth HCI UART */ 28607ca46eSDavid Howells #define N_GIGASET_M101 16 /* Siemens Gigaset M101 serial DECT adapter */ 29607ca46eSDavid Howells #define N_SLCAN 17 /* Serial / USB serial CAN Adaptors */ 30607ca46eSDavid Howells #define N_PPS 18 /* Pulse per Second */ 31607ca46eSDavid Howells #define N_V253 19 /* Codec control over voice modem */ 32607ca46eSDavid Howells #define N_CAIF 20 /* CAIF protocol for talking to modems */ 33607ca46eSDavid Howells #define N_GSM0710 21 /* GSM 0710 Mux */ 34607ca46eSDavid Howells #define N_TI_WL 22 /* for TI's WL BT, FM, GPS combo chips */ 35607ca46eSDavid Howells #define N_TRACESINK 23 /* Trace data routing for MIPI P1149.7 */ 36607ca46eSDavid Howells #define N_TRACEROUTER 24 /* Trace data routing for MIPI P1149.7 */ 37*9961127dSVincent Cuissard #define N_NCI 25 /* NFC NCI UART */ 38607ca46eSDavid Howells 39607ca46eSDavid Howells #endif /* _UAPI_LINUX_TTY_H */ 40