aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/ioctls.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/ioctls.h')
-rw-r--r--include/asm-generic/ioctls.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-generic/ioctls.h b/include/asm-generic/ioctls.h
index a799e20a769e..a3216655d657 100644
--- a/include/asm-generic/ioctls.h
+++ b/include/asm-generic/ioctls.h
@@ -62,13 +62,16 @@
62#define TCSETSW2 _IOW('T', 0x2C, struct termios2) 62#define TCSETSW2 _IOW('T', 0x2C, struct termios2)
63#define TCSETSF2 _IOW('T', 0x2D, struct termios2) 63#define TCSETSF2 _IOW('T', 0x2D, struct termios2)
64#define TIOCGRS485 0x542E 64#define TIOCGRS485 0x542E
65#ifndef TIOCSRS485
65#define TIOCSRS485 0x542F 66#define TIOCSRS485 0x542F
67#endif
66#define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ 68#define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
67#define TIOCSPTLCK _IOW('T', 0x31, int) /* Lock/unlock Pty */ 69#define TIOCSPTLCK _IOW('T', 0x31, int) /* Lock/unlock Pty */
68#define TCGETX 0x5432 /* SYS5 TCGETX compatibility */ 70#define TCGETX 0x5432 /* SYS5 TCGETX compatibility */
69#define TCSETX 0x5433 71#define TCSETX 0x5433
70#define TCSETXF 0x5434 72#define TCSETXF 0x5434
71#define TCSETXW 0x5435 73#define TCSETXW 0x5435
74#define TIOCSIG _IOW('T', 0x36, int) /* pty: generate signal */
72 75
73#define FIONCLEX 0x5450 76#define FIONCLEX 0x5450
74#define FIOCLEX 0x5451 77#define FIOCLEX 0x5451
@@ -87,12 +90,10 @@
87#define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */ 90#define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */
88 91
89/* 92/*
90 * some architectures define FIOQSIZE as 0x545E, which is used for 93 * Some arches already define FIOQSIZE due to a historical
91 * TIOCGHAYESESP on others 94 * conflict with a Hayes modem-specific ioctl value.
92 */ 95 */
93#ifndef FIOQSIZE 96#ifndef FIOQSIZE
94# define TIOCGHAYESESP 0x545E /* Get Hayes ESP configuration */
95# define TIOCSHAYESESP 0x545F /* Set Hayes ESP configuration */
96# define FIOQSIZE 0x5460 97# define FIOQSIZE 0x5460
97#endif 98#endif
98 99
@@ -104,6 +105,7 @@
104#define TIOCPKT_START 8 105#define TIOCPKT_START 8
105#define TIOCPKT_NOSTOP 16 106#define TIOCPKT_NOSTOP 16
106#define TIOCPKT_DOSTOP 32 107#define TIOCPKT_DOSTOP 32
108#define TIOCPKT_IOCTL 64
107 109
108#define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ 110#define TIOCSER_TEMT 0x01 /* Transmitter physically empty */
109 111