diff options
author | James Buren | 2013-09-03 10:01:42 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-12 11:03:59 +0200 |
commit | f28dde8ecf1d9d6b659663a697bdfb3ebc6b51ee (patch) | |
tree | 8b3260de82c606ecffd59473aaefe90440c95f3a | |
parent | agetty: only use EXTA/EXTB macros if B19200/B38400 macros are not present (diff) | |
download | kernel-qcow2-util-linux-f28dde8ecf1d9d6b659663a697bdfb3ebc6b51ee.tar.gz kernel-qcow2-util-linux-f28dde8ecf1d9d6b659663a697bdfb3ebc6b51ee.tar.xz kernel-qcow2-util-linux-f28dde8ecf1d9d6b659663a697bdfb3ebc6b51ee.zip |
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.
-rw-r--r-- | term-utils/agetty.c | 36 |
1 files changed, 36 insertions, 0 deletions
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 @@ -206,6 +206,42 @@ static const struct Speedtab speedtab[] = { #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}, }; |