소스 검색

fix TCS* definitions in mips termios.h

these were incorrectly using the generic definitions.
Szabolcs Nagy 8 년 전
부모
커밋
8c316e9e49
3개의 변경된 파일9개의 추가작업 그리고 9개의 파일을 삭제
  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