From 0d186c61a42d545e399b4f821b4dcdc2de7248ce Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 27 Apr 2001 11:45:27 +0000 Subject: 2001-04-27 Marcus Brinkmann * include/device/tty_status.h: New macros B57600 and B115200, increase NSPEED accordingly. * i386/i386at/com.c (divisorreg): New divisor 1. --- ChangeLog | 6 ++++++ i386/i386at/com.c | 2 +- include/device/tty_status.h | 4 +++- 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 + + * 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 * 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 -- cgit v1.2.3