1 From cff5747c74c41b22f1ce1340978b1c226a8cdf32 Mon Sep 17 00:00:00 2001
2 From: Rich Felker <dalias@aerifal.cx>
3 Date: Wed, 13 Jul 2016 15:04:30 -0400
4 Subject: [PATCH] fix regression in tcsetattr on all mips archs
6 revert commit 8c316e9e49d37ad92c2e7493e16166a2afca419f. it was wrong
7 and does not match how the kernel API works.
9 arch/mips/bits/termios.h | 6 +++---
10 arch/mips64/bits/termios.h | 6 +++---
11 arch/mipsn32/bits/termios.h | 6 +++---
12 4 files changed, 10 insertions(+), 10 deletions(-)
14 diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h
15 index f559f76..6a1205d 100644
16 --- a/arch/mips/bits/termios.h
17 +++ b/arch/mips/bits/termios.h
18 @@ -141,9 +141,9 @@ struct termios {
22 -#define TCSANOW 0x540e
23 -#define TCSADRAIN 0x540f
24 -#define TCSAFLUSH 0x5410
29 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
31 diff --git a/arch/mips64/bits/termios.h b/arch/mips64/bits/termios.h
32 index f559f76..6a1205d 100644
33 --- a/arch/mips64/bits/termios.h
34 +++ b/arch/mips64/bits/termios.h
35 @@ -141,9 +141,9 @@ struct termios {
39 -#define TCSANOW 0x540e
40 -#define TCSADRAIN 0x540f
41 -#define TCSAFLUSH 0x5410
46 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
48 diff --git a/arch/mipsn32/bits/termios.h b/arch/mipsn32/bits/termios.h
49 index f559f76..6a1205d 100644
50 --- a/arch/mipsn32/bits/termios.h
51 +++ b/arch/mipsn32/bits/termios.h
52 @@ -141,9 +141,9 @@ struct termios {
56 -#define TCSANOW 0x540e
57 -#define TCSADRAIN 0x540f
58 -#define TCSAFLUSH 0x5410
63 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)