[POWERPC] Enable arbitary speed tty ioctls and split input/output speed
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 9 Jul 2007 18:37:39 +0000 (11:37 -0700)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 12:03:29 +0000 (22:03 +1000)
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>
include/asm-powerpc/termbits.h

index 5e79198f7d18d2ad6223bc0f6aeea191ee6190ea..6698188ca550aabc84ecadb7b0e7019be336734d 100644 (file)
@@ -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