summaryrefslogtreecommitdiff
path: root/include/asm-arm/ioctls.h
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-05-23 14:14:15 -0700
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-28 23:07:34 +0100
commit3abc12012f957d1c5b9f35b244256f88ad146564 (patch)
tree57f9b0b4333a325a1e4acf9461432fe4003bd087 /include/asm-arm/ioctls.h
parent43e7f6adf33da1f7816ff738d3725bbde8fd98de (diff)
downloadlinux-3.10-3abc12012f957d1c5b9f35b244256f88ad146564.tar.gz
linux-3.10-3abc12012f957d1c5b9f35b244256f88ad146564.tar.bz2
linux-3.10-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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/ioctls.h b/include/asm-arm/ioctls.h
index bb9a7aa10c1..a91d8a1523c 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 */