public inbox for
help / color / mirror / Atom feed
* [newlib-cygwin] termios: add more speeds
@ 2022-07-11 11:54 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2022-07-11 11:54 UTC (permalink / raw)
  To: newlib-cvs;h=defb5ffed43b2a31992732eff46178fb32434259

commit defb5ffed43b2a31992732eff46178fb32434259
Author: Bjoern A. Zeeb <>
Date:   Wed Mar 10 22:17:07 2021 +0000

    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:

 newlib/libc/sys/rtems/include/sys/_termios.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/newlib/libc/sys/rtems/include/sys/_termios.h b/newlib/libc/sys/rtems/include/sys/_termios.h
index 355ebbfa3..4fb31cc6d 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-11 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-11 11:54 [newlib-cygwin] termios: add more speeds Sebastian Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).