aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-14 20:00:54 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 21:45:45 -0500
commiteda35b64a7739691839ea997c836163ea12f123b (patch)
tree24c4249179147fcbea37e93ed72f45a3903d1299
parent5978e791fed57d9d66fd80e2b908b803fa6a831d (diff)
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>
-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 {
171#define B115200 0010002 171#define B115200 0010002
172#define B230400 0010003 172#define B230400 0010003
173#define B460800 0010004 173#define B460800 0010004
174
175/* Unsupported rates, but needed to avoid compile error. */
176#define B500000 0010005
177#define B576000 0010006
178#define B1000000 0010010
179#define B1152000 0010011
180#define B1500000 0010012
181#define B2000000 0010013
182#define B2500000 0010014
183#define B3000000 0010015
184#define B3500000 0010016
185#define B4000000 0010017
186
174/* etrax supports these additional three baud rates */ 187/* etrax supports these additional three baud rates */
175#define B921600 0010005 188#define B921600 0010005
176#define B1843200 0010006 189#define B1843200 0010006