diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2021-03-10 22:17:07 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-11 13:19:29 +0200 |
commit | defb5ffed43b2a31992732eff46178fb32434259 (patch) | |
tree | 84af8567f675129809306ad84cae99e4993a9fa0 | |
parent | 3be97ff62cfca99c25dd1c497cb49ee0eaac7eef (diff) | |
download | newlib-defb5ffed43b2a31992732eff46178fb32434259.zip newlib-defb5ffed43b2a31992732eff46178fb32434259.tar.gz newlib-defb5ffed43b2a31992732eff46178fb32434259.tar.bz2 |
termios: add more speeds
A lot of small arm64 gadgets are using 1500000 as console speed.
While cu can perfectly deal with this some 3rd party software, e.g.,
comms/conserver-con add speeds based on B<n> being defined.
Having it defined here simplifies enhancing other software.
Obtained-from: NetBSD sys/sys/termios.h 1.36
MFC-after: 2 weeks
Reviewed-by: philip (,okayed by imp)
Differential Revision: https://reviews.freebsd.org/D29209
-rw-r--r-- | newlib/libc/sys/rtems/include/sys/_termios.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/include/sys/_termios.h b/newlib/libc/sys/rtems/include/sys/_termios.h index 355ebbf..4fb31cc 100644 --- a/newlib/libc/sys/rtems/include/sys/_termios.h +++ b/newlib/libc/sys/rtems/include/sys/_termios.h @@ -208,7 +208,15 @@ #define B115200 115200 #define B230400 230400 #define B460800 460800 +#define B500000 500000 #define B921600 921600 +#define B1000000 1000000U +#define B1500000 1500000U +#define B2000000 2000000U +#define B2500000 2500000U +#define B3000000 3000000U +#define B3500000 3500000U +#define B4000000 4000000U #define EXTA 19200 #define EXTB 38400 #endif |