Browse Source

fix TCS* definitions in mips termios.h

these were incorrectly using the generic definitions.
Szabolcs Nagy 8 years ago
parent
commit
8c316e9e49
3 changed files with 9 additions and 9 deletions
  1. 3 3
      arch/mips/bits/termios.h
  2. 3 3
      arch/mips64/bits/termios.h
  3. 3 3
      arch/mipsn32/bits/termios.h

+ 3 - 3
arch/mips/bits/termios.h

@@ -142,9 +142,9 @@ struct termios
 #define TCOFLUSH  1
 #define TCIOFLUSH 2
 
-#define TCSANOW   0
-#define TCSADRAIN 1
-#define TCSAFLUSH 2
+#define TCSANOW 0x540e
+#define TCSADRAIN 0x540f
+#define TCSAFLUSH 0x5410
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #define EXTA    0000016

+ 3 - 3
arch/mips64/bits/termios.h

@@ -141,9 +141,9 @@ struct termios {
 #define TCOFLUSH  1
 #define TCIOFLUSH 2
 
-#define TCSANOW   0
-#define TCSADRAIN 1
-#define TCSAFLUSH 2
+#define TCSANOW 0x540e
+#define TCSADRAIN 0x540f
+#define TCSAFLUSH 0x5410
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #define EXTA    0000016

+ 3 - 3
arch/mipsn32/bits/termios.h

@@ -141,9 +141,9 @@ struct termios {
 #define TCOFLUSH  1
 #define TCIOFLUSH 2
 
-#define TCSANOW   0
-#define TCSADRAIN 1
-#define TCSAFLUSH 2
+#define TCSANOW 0x540e
+#define TCSADRAIN 0x540f
+#define TCSAFLUSH 0x5410
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #define EXTA    0000016