summaryrefslogtreecommitdiffstats
path: root/ttyutils.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-07-08 06:43:45 +0200
committerRalf Baechle <ralf@linux-mips.org>1999-07-08 06:43:45 +0200
commit25b07d12d92ebec03905433f2037cf5f9e757d7c (patch)
treea127f7c5990e1e73d76dedc875c94e7add72e77e /ttyutils.c
parent9a9dc6176b5d74717c6e5b757a6d3b1dfe6604a3 (diff)
Import libax25 0.0.5 from tarballlibax25-0.0.5
Diffstat (limited to 'ttyutils.c')
-rw-r--r--ttyutils.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/ttyutils.c b/ttyutils.c
index 5b7cdcf..584371b 100644
--- a/ttyutils.c
+++ b/ttyutils.c
@@ -5,8 +5,8 @@
#include <fcntl.h>
#include <signal.h>
-#include "pathnames.h"
#include "ttyutils.h"
+#include "pathnames.h"
static struct speed_struct {
int user_speed;
@@ -20,6 +20,18 @@ static struct speed_struct {
{9600, B9600},
{19200, B19200},
{38400, B38400},
+#ifdef B57600
+ {57600, B57600},
+#endif
+#ifdef B115200
+ {115200, B115200},
+#endif
+#ifdef B230400
+ {230400, B230400},
+#endif
+#ifdef B460800
+ {460800, B460800},
+#endif
{-1, B0}
};