diff options
author | Thomas Osterried <ax25@x-berg.in-berlin.de> | 2022-05-02 02:13:05 +0200 |
---|---|---|
committer | Thomas Osterried <ax25@x-berg.in-berlin.de> | 2022-05-02 02:13:05 +0200 |
commit | 25619cc79e58a68bf88381a75ecdf93a9b8f9c90 (patch) | |
tree | 2dcafeb1dc4f203c1313979b120a64810b8593e9 | |
parent | f7e4a620aaa061bca62c2cef7dd508157e482c68 (diff) |
ttyutils.c: added support for higher baud rates.
Signed-off-by: John Paul Morrison<jmorrison@bogomips.com>
-rw-r--r-- | ttyutils.c | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -33,6 +33,39 @@ static struct speed_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 + {1000000, B3500000}, +#endif +#ifdef B4000000 + {4000000, B4000000}, +#endif {-1, B0} }; |