summaryrefslogtreecommitdiff
path: root/libc/termios
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-02-22 08:27:23 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-02-22 08:27:23 +0000
commit8f6b324aaba37710c891a984149be574006edcb4 (patch)
tree798b46006fb4961b3bc744733ec45edef0371a56 /libc/termios
parentead75f3ce64cca0126c7e9f1d6aec42f03c77b74 (diff)
* Allow baud rates above 115200 again.
* Added a couple of esoteric CRIS specific baud rates.
Diffstat (limited to 'libc/termios')
-rw-r--r--libc/termios/cfsetspeed.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/libc/termios/cfsetspeed.c b/libc/termios/cfsetspeed.c
index 360969a78..0d35d1474 100644
--- a/libc/termios/cfsetspeed.c
+++ b/libc/termios/cfsetspeed.c
@@ -91,7 +91,6 @@ static const struct speed_struct speeds[] =
#ifdef B115200
{ 115200, B115200 },
#endif
-#if 0 /* limited on uClibc, keep in sync w/ bits/termios.h */
#ifdef B153600
{ 153600, B153600 },
#endif
@@ -122,6 +121,9 @@ static const struct speed_struct speeds[] =
#ifdef B1500000
{ 1500000, B1500000 },
#endif
+#ifdef B1843200
+ { 1843200, B1843200 },
+#endif
#ifdef B2000000
{ 2000000, B2000000 },
#endif
@@ -137,6 +139,11 @@ static const struct speed_struct speeds[] =
#ifdef B4000000
{ 4000000, B4000000 },
#endif
+#ifdef B6250000
+ { 6250000, B6250000 },
+#endif
+#ifdef B12500000
+ { 12500000, B12500000 },
#endif
};