summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2001-04-27 11:45:27 +0000
committerMarcus Brinkmann <marcus@gnu.org>2001-04-27 11:45:27 +0000
commit0d186c61a42d545e399b4f821b4dcdc2de7248ce (patch)
treeedb344584b61999168c4986fa40580db5d69e5fc
parent352be51dfc6f9a5d179cc0bfd70c0d6b4804568c (diff)
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.
-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 7a424d86..d951cca4 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 6d7972d2..f986f185 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 9f5eab81..15249a40 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