1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Sun, 13 Sep 2015 18:46:17 +0200
3 Subject: [PATCH] fix termios custom speed field names
5 Using c_ispeed/c_ospeed is necessary for setting custom baud rates not
6 covered by the existing defines (via BOTHER).
7 Rename those fields to match glibc/uClibc.
9 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
12 --- a/arch/aarch64/bits/termios.h
13 +++ b/arch/aarch64/bits/termios.h
14 @@ -6,8 +6,8 @@ struct termios
25 --- a/arch/arm/bits/termios.h
26 +++ b/arch/arm/bits/termios.h
27 @@ -6,8 +6,8 @@ struct termios
38 --- a/arch/i386/bits/termios.h
39 +++ b/arch/i386/bits/termios.h
40 @@ -6,8 +6,8 @@ struct termios
51 --- a/arch/microblaze/bits/termios.h
52 +++ b/arch/microblaze/bits/termios.h
53 @@ -6,8 +6,8 @@ struct termios
64 --- a/arch/mips/bits/termios.h
65 +++ b/arch/mips/bits/termios.h
66 @@ -6,8 +6,8 @@ struct termios
77 --- a/arch/or1k/bits/termios.h
78 +++ b/arch/or1k/bits/termios.h
79 @@ -5,8 +5,8 @@ struct termios {
90 --- a/arch/powerpc/bits/termios.h
91 +++ b/arch/powerpc/bits/termios.h
92 @@ -8,8 +8,8 @@ struct termios
103 --- a/arch/sh/bits/termios.h
104 +++ b/arch/sh/bits/termios.h
105 @@ -6,8 +6,8 @@ struct termios
109 - speed_t __c_ispeed;
110 - speed_t __c_ospeed;
116 --- a/arch/x32/bits/termios.h
117 +++ b/arch/x32/bits/termios.h
118 @@ -6,8 +6,8 @@ struct termios
122 - speed_t __c_ispeed;
123 - speed_t __c_ospeed;
129 --- a/arch/x86_64/bits/termios.h
130 +++ b/arch/x86_64/bits/termios.h
131 @@ -6,8 +6,8 @@ struct termios
135 - speed_t __c_ispeed;
136 - speed_t __c_ospeed;