Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _UAPI_LINUX_TTY_H
0003 #define _UAPI_LINUX_TTY_H
0004 
0005 /*
0006  * 'tty.h' defines some structures used by tty_io.c and some defines.
0007  */
0008 
0009 /* line disciplines */
0010 #define N_TTY       0
0011 #define N_SLIP      1
0012 #define N_MOUSE     2
0013 #define N_PPP       3
0014 #define N_STRIP     4
0015 #define N_AX25      5
0016 #define N_X25       6   /* X.25 async */
0017 #define N_6PACK     7
0018 #define N_MASC      8   /* Reserved for Mobitex module <kaz@cafe.net> */
0019 #define N_R3964     9   /* Reserved for Simatic R3964 module */
0020 #define N_PROFIBUS_FDL  10  /* Reserved for Profibus */
0021 #define N_IRDA      11  /* Linux IrDa - http://irda.sourceforge.net/ */
0022 #define N_SMSBLOCK  12  /* SMS block mode - for talking to GSM data */
0023                 /* cards about SMS messages */
0024 #define N_HDLC      13  /* synchronous HDLC */
0025 #define N_SYNC_PPP  14  /* synchronous PPP */
0026 #define N_HCI       15  /* Bluetooth HCI UART */
0027 #define N_GIGASET_M101  16  /* Siemens Gigaset M101 serial DECT adapter */
0028 #define N_SLCAN     17  /* Serial / USB serial CAN Adaptors */
0029 #define N_PPS       18  /* Pulse per Second */
0030 #define N_V253      19  /* Codec control over voice modem */
0031 #define N_CAIF      20      /* CAIF protocol for talking to modems */
0032 #define N_GSM0710   21  /* GSM 0710 Mux */
0033 #define N_TI_WL     22  /* for TI's WL BT, FM, GPS combo chips */
0034 #define N_TRACESINK 23  /* Trace data routing for MIPI P1149.7 */
0035 #define N_TRACEROUTER   24  /* Trace data routing for MIPI P1149.7 */
0036 #define N_NCI       25  /* NFC NCI UART */
0037 #define N_SPEAKUP   26  /* Speakup communication with synths */
0038 #define N_NULL      27  /* Null ldisc used for error handling */
0039 #define N_MCTP      28  /* MCTP-over-serial */
0040 #define N_DEVELOPMENT   29  /* Manual out-of-tree testing */
0041 #define N_CAN327    30  /* ELM327 based OBD-II interfaces */
0042 
0043 /* Always the newest line discipline + 1 */
0044 #define NR_LDISCS   31
0045 
0046 #endif /* _UAPI_LINUX_TTY_H */