From f28dde8ecf1d9d6b659663a697bdfb3ebc6b51ee Mon Sep 17 00:00:00 2001 From: James Buren Date: Tue, 3 Sep 2013 03:01:42 -0500 Subject: agetty: add baud rates available from glibc that are not already supported This adds userspace support for baud rates reater than 230400, provided the tty also supports it. --- term-utils/agetty.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'term-utils/agetty.c') diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 04b7ee465..29301a61c 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -205,6 +205,42 @@ static const struct Speedtab speedtab[] = { #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 {0, 0}, }; -- cgit v1.2.3-55-g7522