summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-04-30 13:33:49 +0200
committerJason Wessel <jason.wessel@windriver.com>2018-04-30 15:42:28 -0500
commit131135f30e4686d49471120d6ac02ee30a37430d (patch)
tree4de254132a342a86766fa9112e06bf1bb24bcca7
parent994f8b768924e633c4e4a5abdedde1553c4fcc30 (diff)
downloadagent-proxy-131135f30e4686d49471120d6ac02ee30a37430d.tar.gz
agent-proxy-rs232: add missing baud rates
Add more baud rates defined in termios.h. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
-rw-r--r--agent-proxy-rs232.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/agent-proxy-rs232.c b/agent-proxy-rs232.c
index 4027e8e..768fd55 100644
--- a/agent-proxy-rs232.c
+++ b/agent-proxy-rs232.c
@@ -71,6 +71,39 @@ static struct {
#ifdef B460800
{ 460800, B460800 },
#endif
+#ifdef B500000
+ { 500000, B500000 },
+#endif
+#ifdef B576000
+ { 576000, B576000 },
+#endif
+#ifdef B921600
+ { 921600, B921600 },
+#endif
+#ifdef B1000000
+ { 1000000, B1000000 },
+#endif
+#ifdef B1152000
+ { 1152000, B1152000 },
+#endif
+#ifdef B1500000
+ { 1500000, B1500000 },
+#endif
+#ifdef B2000000
+ { 2000000, B2000000 },
+#endif
+#ifdef B2500000
+ { 2500000, B2500000 },
+#endif
+#ifdef B3000000
+ { 3000000, B3000000 },
+#endif
+#ifdef B3500000
+ { 3500000, B3500000 },
+#endif
+#ifdef B4000000
+ { 4000000, B4000000 },
+#endif
{ -1, -1 },
};