summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/termbits.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-07-09 11:37:39 -0700
committerPaul Mackerras <paulus@samba.org>2007-07-10 22:03:29 +1000
commit665f5600cb80c9cfa2e9bc832f9cd28164d8e283 (patch)
tree5f6f9b6a5f9990bb099b2be1885d530a9290367f /include/asm-powerpc/termbits.h
parent5605d4def1b33721c268067620b163af0a9e2474 (diff)
[POWERPC] Enable arbitary speed tty ioctls and split input/output speed
Adding the defines/macros activates the existing code in the tty layer and allows this platform to use the arbitary speed ioctl setting layer Signed-off-by: David Woodhouse <dwmw2@infradead.org> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/termbits.h')
-rw-r--r--include/asm-powerpc/termbits.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/termbits.h b/include/asm-powerpc/termbits.h
index 5e79198f7d18..6698188ca550 100644
--- a/include/asm-powerpc/termbits.h
+++ b/include/asm-powerpc/termbits.h
@@ -152,6 +152,10 @@ struct ktermios {
#define B3000000 00034
#define B3500000 00035
#define B4000000 00036
+#define BOTHER 00037
+
+#define CIBAUD 077600000
+#define IBSHIFT 16 /* Shift from CBAUD to CIBAUD */
#define CSIZE 00001400
#define CS5 00000000