From c5c5536e63e6fef27547311ee571aa25716b3779 Mon Sep 17 00:00:00 2001 From: Ronak Desai Date: Fri, 7 Oct 2016 16:56:46 -0500 Subject: [PATCH] slattach : Added support for standard baudrates higher than 115200 This patch adds support for standard baudrates higher than 115200. Signed-off-by: Ronak Desai --- slattach.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/slattach.c b/slattach.c index 5c81584..56fa1e6 100644 --- a/slattach.c +++ b/slattach.c @@ -101,6 +101,45 @@ struct { #endif #ifdef B115200 { "115200", B115200 }, +#endif +#ifdef B230400 + { "230400", B230400 }, +#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 { NULL, 0 } };