From: James Buren Date: Tue, 3 Sep 2013 08:01:42 +0000 (-0500) Subject: agetty: add baud rates available from glibc that are not already supported X-Git-Tag: v2.24-rc1~273 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f28dde8ecf1d9d6b659663a697bdfb3ebc6b51ee;p=thirdparty%2Futil-linux.git 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. --- diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 04b7ee4651..29301a61c8 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}, };