From: David Woodhouse Date: Mon, 9 Jul 2007 18:37:39 +0000 (-0700) Subject: [POWERPC] Enable arbitary speed tty ioctls and split input/output speed X-Git-Tag: v2.6.23-rc1~767^2^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=665f5600cb80c9cfa2e9bc832f9cd28164d8e283;p=karo-tx-linux.git [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 Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras --- 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