Browse Source

[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>
David Woodhouse 18 years ago
parent
commit
665f5600cb
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/asm-powerpc/termbits.h

+ 4 - 0
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