diff options
author | Roland McGrath <roland@gnu.org> | 2001-10-14 11:09:29 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-10-14 11:09:29 +0000 |
commit | 3932f9e2fbbf9ccd11e4c9874341e65e4edd998a (patch) | |
tree | 4d52d3af91d922e7a483fae6b31d37f5e70d4633 /term/devio.c | |
parent | bc1e89fb080659aed641ac75d5f4238a93989ae9 (diff) |
2001-10-14 Roland McGrath <roland@frob.com>
* devio.c (real_speed_to_bogus_speed): Handle B57600, B115200 if they
are defined. Reported by Diego Roversi <diegor@tiscalinet.it>.
Diffstat (limited to 'term/devio.c')
-rw-r--r-- | term/devio.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/term/devio.c b/term/devio.c index ac5b50ed..e638c568 100644 --- a/term/devio.c +++ b/term/devio.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995,96,98,99,2000 Free Software Foundation, Inc. + Copyright (C) 1995,96,98,99,2000,01 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -169,6 +169,16 @@ real_speed_to_bogus_speed (int rspeed, int *bspeed) case 38400: *bspeed = EXTB; break; +#ifdef B57600 + case 57600: + *bspeed = B57600; + break; +#endif +#ifdef B115200 + case 115200: + *bspeed = B115200; + break; +#endif default: return -1; } |