Remove duplicate line discipline definitions
A message that is not in the archive (sent off-list or not yet received): [email protected]
Bryan Wu
Acked-byQuoted 4 lines · Tilman Schmidt
The definitions of the line discipline numbers N_* have been moved from
asm-*/termios.htolinux/tty.h, but the Blackfin architecture has somehow evaded that move. Bring it in line with the others.
Thanks a lot.
Quoted 8 lines
Signed-off-by Tilman Schmidt <[email protected]>---
Note: this is untested, as I have no way to build for the Blackfin arch.
It *should* be ok, as it is just what I did for the other archs a year ago, but nevertheless it'd better be checked by someone who's able to actually build and run a Blackfin kernel before merging.
I've tested it on BF537-STAMP, it's OK.
Regards,
-Bryan
Quoted 43 lines
include/asm-blackfin/termios.h | 18 ------------------ 1 files changed, 0 insertions(+), 18 deletions(-)include/asm-blackfin/termios.h +0
-10@@ -39,24 +39,6 @@ struct termio {/* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */ -/* line disciplines */ -#define N_TTY 0 -#define N_SLIP 1 -#define N_MOUSE 2 -#define N_PPP 3 -#define N_STRIP 4 -#define N_AX25 5 -#define N_X25 6/* X.25 async */ -#define N_6PACK 7 -#define N_MASC 8/* Reserved for Mobitex module <[email protected]> */
-#defineN_R39649 /* Reserved for Simatic R3964
module */
-#defineN_PROFIBUS_FDL10 /* Reserved for Profibus
<[email protected]> */
-#defineN_IRDA11 /* Linux IR -
http://irda.sourceforge.net/ */
-#defineN_SMSBLOCK12 /* SMS block mode - for talking to GSM
data cards about SMS messages */include/asm-blackfin/termios.h +0
-5-#define N_HDLC 13/* synchronous HDLC */ -#define N_SYNC_PPP 14/* synchronous PPP */ -#define N_HCI 15/* Bluetooth HCI UART */ -#ifdef __KERNEL__/* intr=^C quit=^\ erase=del kill=^U -- 1.5.4.rc2-dirty