summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/termbits.h
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-08-05 19:16:05 +0800
committerBryan Wu <bryan.wu@analog.com>2007-08-05 19:16:05 +0800
commit85a75996edd0e49477cc7c9eb4bac33f02b07685 (patch)
tree5f29dbd15273adfe1a4ce4a040e5858ea1015b51 /include/asm-blackfin/termbits.h
parent7417c8fe2e792b771b093c14e763816f154b62b4 (diff)
blackfin enable arbitary speed serial setting
Add the needed definitions to activate arbitary speed support on the blackfin platform. Signed-off-by: Alan Cox <alan@redhat.com> Acked-by: Aubrey Li <aubrey.li@analog.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/termbits.h')
-rw-r--r--include/asm-blackfin/termbits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-blackfin/termbits.h b/include/asm-blackfin/termbits.h
index 4eac38de8ce..f37feb7cf89 100644
--- a/include/asm-blackfin/termbits.h
+++ b/include/asm-blackfin/termbits.h
@@ -140,6 +140,7 @@ struct ktermios {
#define HUPCL 0002000
#define CLOCAL 0004000
#define CBAUDEX 0010000
+#define BOTHER 0010000
#define B57600 0010001
#define B115200 0010002
#define B230400 0010003
@@ -155,10 +156,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