about summary refs log tree commit diff
path: root/arch/mips/bits
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/bits')
-rw-r--r--arch/mips/bits/termios.h31
1 files changed, 21 insertions, 10 deletions
diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h
index 9f6abd83..179af8e7 100644
--- a/arch/mips/bits/termios.h
+++ b/arch/mips/bits/termios.h
@@ -14,19 +14,20 @@ struct termios
 #define VQUIT     1
 #define VERASE    2
 #define VKILL     3
-#define VEOF      4
+#define VMIN      4
 #define VTIME     5
-#define VMIN      6
+#define VEOL2     6
 #define VSWTC     7
+#define VSWTCH    7
 #define VSTART    8
 #define VSTOP     9
 #define VSUSP    10
-#define VEOL     11
 #define VREPRINT 12
 #define VDISCARD 13
 #define VWERASE  14
 #define VLNEXT   15
-#define VEOL2    16
+#define VEOF     16
+#define VEOL     17
 
 #define IGNBRK  0000001
 #define BRKINT  0000002
@@ -42,6 +43,7 @@ struct termios
 #define IXANY   0004000
 #define IXOFF   0010000
 #define IMAXBEL 0020000
+#define IUTF8   0040000
 
 #define OPOST  0000001
 #define OLCUC  0000002
@@ -94,7 +96,10 @@ struct termios
 #define B9600    0000015
 #define B19200   0000016
 #define B38400   0000017
+#define EXTA     0000016
+#define EXTB     0000017
 
+#define BOTHER   0010000
 #define B57600   0010001
 #define B115200  0010002
 #define B230400  0010003
@@ -124,26 +129,32 @@ struct termios
 #define PARODD 0001000
 #define HUPCL  0002000
 #define CLOCAL 0004000
+#define CBAUDEX 0010000
 
+#define CIBAUD   002003600000
+#define CMSPAR   010000000000
 #define CRTSCTS  020000000000
+#define IBSHIFT 16
 
 #define ISIG   0000001
 #define ICANON 0000002
+#define XCASE  0000004
 #define ECHO   0000010
 #define ECHOE  0000020
 #define ECHOK  0000040
 #define ECHONL 0000100
 #define NOFLSH 0000200
-#define TOSTOP 0000400
-#define IEXTEN 0100000
-
-/* Extensions? */
-#define CBAUDEX 0010000
+#define IEXTEN 0000400
 #define ECHOCTL 0001000
 #define ECHOPRT 0002000
 #define ECHOKE 0004000
-#define FLUSHO 0010000
+#define FLUSHO 0020000
 #define PENDIN 0040000
+#define TOSTOP 0100000
+#define ITOSTOP 0100000
+#define EXTPROC 0200000
+
+#define TIOCSER_TEMT 1
 
 #define TCOOFF 0
 #define TCOON  1