summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authorhypnotoad <yoda@etoyoc.com>2015-06-10 21:53:47 (GMT)
committerhypnotoad <yoda@etoyoc.com>2015-06-10 21:53:47 (GMT)
commit2eafca4f84dee0db9ffa749bca6218c6bf1c3e21 (patch)
treec1a3dbcd5d178a394496d2198a32a793e275ff0a /unix/tclUnixChan.c
parent14f15edc7322b01a23ee0ae2201d96ae38212d09 (diff)
downloadtcl-2eafca4f84dee0db9ffa749bca6218c6bf1c3e21.zip
tcl-2eafca4f84dee0db9ffa749bca6218c6bf1c3e21.tar.gz
tcl-2eafca4f84dee0db9ffa749bca6218c6bf1c3e21.tar.bz2
Patch to add support for higher baud rates under Unix Ticket [e770d92d76]]ticket_e770d92d6
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index a1fe090..b4b2739 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -988,6 +988,39 @@ static const struct {int baud; speed_t speed;} speeds[] = {
#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, 0}
};