summary refs log tree commit diff
path: root/include/asm-blackfin/ioctls.h
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-08-05 19:16:05 +0800
committerBryan Wu <bryan.wu@analog.com>2007-08-05 19:16:05 +0800
commit85a75996edd0e49477cc7c9eb4bac33f02b07685 (patch)
tree5f29dbd15273adfe1a4ce4a040e5858ea1015b51 /include/asm-blackfin/ioctls.h
parent7417c8fe2e792b771b093c14e763816f154b62b4 (diff)
downloadlinux-85a75996edd0e49477cc7c9eb4bac33f02b07685.tar.gz
blackfin enable arbitary speed serial setting
Add the needed definitions to activate arbitary speed support on the blackfin platform.

Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Aubrey Li <aubrey.li@analog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>

Diffstat (limited to 'include/asm-blackfin/ioctls.h')
-rw-r--r--include/asm-blackfin/ioctls.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asm-blackfin/ioctls.h b/include/asm-blackfin/ioctls.h
index 8356204151db..895e3173165d 100644
--- a/include/asm-blackfin/ioctls.h
+++ b/include/asm-blackfin/ioctls.h
@@ -47,8 +47,13 @@
 #define TIOCSBRK	0x5427	/* BSD compatibility */
 #define TIOCCBRK	0x5428	/* BSD compatibility */
 #define TIOCGSID	0x5429	/* Return the session ID of FD */
-#define TIOCGPTN	_IOR('T',0x30, unsigned int)	/* Get Pty Number (of pty-mux device) */
-#define TIOCSPTLCK	_IOW('T',0x31, int)	/* Lock/unlock Pty */
+#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)
+/* Get Pty Number (of pty-mux device) */
+#define TIOCGPTN	_IOR('T', 0x30, unsigned int)
+#define TIOCSPTLCK	_IOW('T', 0x31, int)	/* Lock/unlock Pty */
 
 #define FIONCLEX	0x5450	/* these numbers need to be adjusted. */
 #define FIOCLEX		0x5451