From 8c316e9e49d37ad92c2e7493e16166a2afca419f Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 3 Jul 2016 17:09:29 +0200 Subject: fix TCS* definitions in mips termios.h these were incorrectly using the generic definitions. --- arch/mips/bits/termios.h | 6 +++--- arch/mips64/bits/termios.h | 6 +++--- arch/mipsn32/bits/termios.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'arch') diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h index 55ba1323..29b4b220 100644 --- a/arch/mips/bits/termios.h +++ b/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 diff --git a/arch/mips64/bits/termios.h b/arch/mips64/bits/termios.h index 6a1205d7..f559f76f 100644 --- a/arch/mips64/bits/termios.h +++ b/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 diff --git a/arch/mipsn32/bits/termios.h b/arch/mipsn32/bits/termios.h index 6a1205d7..f559f76f 100644 --- a/arch/mipsn32/bits/termios.h +++ b/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 -- cgit v1.2.1