diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-04-27 11:45:27 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-04-27 11:45:27 +0000 |
commit | 0d186c61a42d545e399b4f821b4dcdc2de7248ce (patch) | |
tree | edb344584b61999168c4986fa40580db5d69e5fc | |
parent | 352be51dfc6f9a5d179cc0bfd70c0d6b4804568c (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-- | ChangeLog | 6 | ||||
-rw-r--r-- | i386/i386at/com.c | 2 | ||||
-rw-r--r-- | include/device/tty_status.h | 4 |
3 files changed, 10 insertions, 2 deletions
@@ -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 |