diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-05-23 23:14:15 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-29 00:07:34 +0200 |
commit | 3abc12012f957d1c5b9f35b244256f88ad146564 (patch) | |
tree | 57f9b0b4333a325a1e4acf9461432fe4003bd087 /include/asm-arm/ioctls.h | |
parent | [ARM] remove unused header file: arch/arm/mach-s3c2410/bast.h (diff) | |
download | linux-3abc12012f957d1c5b9f35b244256f88ad146564.tar.xz linux-3abc12012f957d1c5b9f35b244256f88ad146564.zip |
[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 <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/ioctls.h')
-rw-r--r-- | include/asm-arm/ioctls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/ioctls.h b/include/asm-arm/ioctls.h index bb9a7aa10c12..a91d8a1523cf 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 */ |