summaryrefslogtreecommitdiff
path: root/term/devio.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-01-04 00:11:21 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-01-04 00:11:21 +0000
commit3ceb0363d903fc76d1b30f0fadff74edc772754b (patch)
treef1d4f77224d3c7c89a19d7d65b4246ccb2c393d2 /term/devio.c
parent2a553de988869ede2dd5358a50b17689af4b40e4 (diff)
2002-01-04 Marcus Brinkmann <marcus@gnu.org>
* devio.c (bogus_speed_to_real_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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/term/devio.c b/term/devio.c
index e638c568..f1bdab2d 100644
--- a/term/devio.c
+++ b/term/devio.c
@@ -224,6 +224,14 @@ bogus_speed_to_real_speed (int bspeed)
return 19200;
case EXTB:
return 38400;
+#ifdef B57600
+ case B57600:
+ return 57600;
+#endif
+#ifdef B115200
+ case B115200:
+ return 115200;
+#endif
}
}