diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-07-16 06:38:34 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 16:05:37 (GMT) |
commit | f79224ca2754e903b695bd91176a9bedbb306324 (patch) | |
tree | e011c679e4a0e9b1f6e19c894a859a0ed0beae59 /include/asm-h8300/termbits.h | |
parent | 17d8725d36c1f3d6a21a2d3f96875bda8ddfa92c (diff) | |
download | linux-fsl-qoriq-f79224ca2754e903b695bd91176a9bedbb306324.tar.xz |
h8300: enable arbitary speed tty port setup
Add the needed constants and defines to activate the new tty code on this
platform
Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-h8300/termbits.h')
-rw-r--r-- | include/asm-h8300/termbits.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-h8300/termbits.h b/include/asm-h8300/termbits.h index e877b40..31eca81 100644 --- a/include/asm-h8300/termbits.h +++ b/include/asm-h8300/termbits.h @@ -141,6 +141,7 @@ struct ktermios { #define HUPCL 0002000 #define CLOCAL 0004000 #define CBAUDEX 0010000 +#define BOTHER 0010000 #define B57600 0010001 #define B115200 0010002 #define B230400 0010003 @@ -156,10 +157,12 @@ struct ktermios { #define B3000000 0010015 #define B3500000 0010016 #define B4000000 0010017 -#define CIBAUD 002003600000 /* input baud rate (not used) */ +#define CIBAUD 002003600000 /* input baud rate */ #define CMSPAR 010000000000 /* mark or space (stick) parity */ #define CRTSCTS 020000000000 /* flow control */ +#define IBSHIFT 16 /* shift from CBAUD to CIBAUD */ + /* c_lflag bits */ #define ISIG 0000001 #define ICANON 0000002 |