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 Signed-off-by: Rich Felker <dalias@aerifal.cx>
10 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
12 arch/mips/bits/termios.h | 6 +++---
13 arch/mips64/bits/termios.h | 6 +++---
14 arch/mipsn32/bits/termios.h | 6 +++---
15 3 files changed, 9 insertions(+), 9 deletions(-)
17 diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h
18 index f559f76..6a1205d 100644
19 --- a/arch/mips/bits/termios.h
20 +++ b/arch/mips/bits/termios.h
21 @@ -141,9 +141,9 @@ struct termios {
25 -#define TCSANOW 0x540e
26 -#define TCSADRAIN 0x540f
27 -#define TCSAFLUSH 0x5410
32 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
34 diff --git a/arch/mips64/bits/termios.h b/arch/mips64/bits/termios.h
35 index f559f76..6a1205d 100644
36 --- a/arch/mips64/bits/termios.h
37 +++ b/arch/mips64/bits/termios.h
38 @@ -141,9 +141,9 @@ struct termios {
42 -#define TCSANOW 0x540e
43 -#define TCSADRAIN 0x540f
44 -#define TCSAFLUSH 0x5410
49 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
51 diff --git a/arch/mipsn32/bits/termios.h b/arch/mipsn32/bits/termios.h
52 index f559f76..6a1205d 100644
53 --- a/arch/mipsn32/bits/termios.h
54 +++ b/arch/mipsn32/bits/termios.h
55 @@ -141,9 +141,9 @@ struct termios {
59 -#define TCSANOW 0x540e
60 -#define TCSADRAIN 0x540f
61 -#define TCSAFLUSH 0x5410
66 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)