summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/termbits.h
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-15 02:00:54 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-15 03:45:45 +0100
commiteda35b64a7739691839ea997c836163ea12f123b (patch)
tree24c4249179147fcbea37e93ed72f45a3903d1299 /include/asm-cris/termbits.h
parentcris build fixes: sys_cris.c needs fs.h (diff)
downloadlinux-eda35b64a7739691839ea997c836163ea12f123b.tar.xz
linux-eda35b64a7739691839ea997c836163ea12f123b.zip
cris build fixes: add baud rate defines
Add missing defines for (unsupported) baud rates. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Mikael Starvik <starvik@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--include/asm-cris/termbits.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-cris/termbits.h b/include/asm-cris/termbits.h
index 71c1b36269b8..66e1a7492a0c 100644
--- a/include/asm-cris/termbits.h
+++ b/include/asm-cris/termbits.h
@@ -171,6 +171,19 @@ struct ktermios {
#define B115200 0010002
#define B230400 0010003
#define B460800 0010004
+
+/* Unsupported rates, but needed to avoid compile error. */
+#define B500000 0010005
+#define B576000 0010006
+#define B1000000 0010010
+#define B1152000 0010011
+#define B1500000 0010012
+#define B2000000 0010013
+#define B2500000 0010014
+#define B3000000 0010015
+#define B3500000 0010016
+#define B4000000 0010017
+
/* etrax supports these additional three baud rates */
#define B921600 0010005
#define B1843200 0010006