summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--i386/i386at/com.c2
-rw-r--r--include/device/tty_status.h4
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a424d8..d951cca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-27 Marcus Brinkmann <marcus@gnu.org>
+
+ * include/device/tty_status.h: New macros B57600 and B115200,
+ increase NSPEED accordingly.
+ * i386/i386at/com.c (divisorreg): New divisor 1.
+
2001-04-04 Roland McGrath <roland@frob.com>
* ddb/db_access.h: Fix obsolescent #else/#endif syntax.
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index 6d7972d..f986f18 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -85,7 +85,7 @@ u_short divisorreg[] = {
857, 768, 576, 384, 192, /* 134.5, 150, 200, 300, 600*/
96, 64, 48, /* 1200, 1800, 2000, 2400 */
24, 12, /* 3600, 4800, 7200, 9600 */
- 6, 3, 2}; /* 19200, 38400, 56000 */
+ 6, 3, 2, 1}; /* 19200, 38400, 56000,115200 */
/*
diff --git a/include/device/tty_status.h b/include/device/tty_status.h
index 9f5eab8..15249a4 100644
--- a/include/device/tty_status.h
+++ b/include/device/tty_status.h
@@ -61,8 +61,10 @@ struct tty_status {
#define EXTB 15
#define B19200 EXTA
#define B38400 EXTB
+#define B57600 16
+#define B115200 17
-#define NSPEEDS 16
+#define NSPEEDS 18
/*
* Flags