Add more baud rates defined in termios.h.

Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
---
 agent-proxy-rs232.c | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/agent-proxy-rs232.c b/agent-proxy-rs232.c
index 0e7841f..79dde9e 100644
--- a/agent-proxy-rs232.c
+++ b/agent-proxy-rs232.c
@@ -70,6 +70,39 @@ static struct {
 #endif
 #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 },
 };
-- 
2.17.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to