Commit 665f5600cb80c9cfa2e9bc832f9cd28164d8e283

Authored by David Woodhouse
Committed by Paul Mackerras
1 parent 5605d4def1

[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>

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

include/asm-powerpc/termbits.h
... ... @@ -152,6 +152,10 @@
152 152 #define B3000000 00034
153 153 #define B3500000 00035
154 154 #define B4000000 00036
  155 +#define BOTHER 00037
  156 +
  157 +#define CIBAUD 077600000
  158 +#define IBSHIFT 16 /* Shift from CBAUD to CIBAUD */
155 159  
156 160 #define CSIZE 00001400
157 161 #define CS5 00000000