From 3abc12012f957d1c5b9f35b244256f88ad146564 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 23 May 2007 14:14:15 -0700 Subject: [ARM] enable arbitary speed tty ioctls and split input/output speed Add the ioctls and values needed for this to the ARM26/ARM32 ports. The actual code has been in the base kernel for a while and automatically turns on when a port sets the required defines. [RMK: also added termbits.h changes to avoid build breakage] Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Russell King --- include/asm-arm/ioctls.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/asm-arm/ioctls.h') diff --git a/include/asm-arm/ioctls.h b/include/asm-arm/ioctls.h index bb9a7aa..a91d8a1 100644 --- a/include/asm-arm/ioctls.h +++ b/include/asm-arm/ioctls.h @@ -46,6 +46,10 @@ #define TIOCSBRK 0x5427 /* BSD compatibility */ #define TIOCCBRK 0x5428 /* BSD compatibility */ #define TIOCGSID 0x5429 /* Return the session ID of FD */ +#define TCGETS2 _IOR('T',0x2A, struct termios2) +#define TCSETS2 _IOW('T',0x2B, struct termios2) +#define TCSETSW2 _IOW('T',0x2C, struct termios2) +#define TCSETSF2 _IOW('T',0x2D, struct termios2) #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ -- cgit v1.1