projects/linux·commit eda35b64

cris build fixes: add baud rate defines

eda35b64 · Jesper Nilsson <[email protected]> · 2007-11-14 17:00:54 -08:00

Add missing defines for (unsupported) baud rates.

Signed-off-by: Jesper Nilsson <[email protected]>
Acked-by: Mikael Starvik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
eda35b64a7739691839ea997c836163ea12f123b
Parents
5978e791

Changes

1 files changed · +13 −0

FileStatusAddDelContent
include/asm-cris/termbits.hmodified+13−0View file

include/asm-cris/termbits.h

View file
diff --git a/include/asm-cris/termbits.h b/include/asm-cris/termbits.h
index 71c1b36..66e1a74 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