From 81a4d35394096e4e9bd7b9b189e91190e58b02a7 Mon Sep 17 00:00:00 2001 From: pali <7141871+pali@users.noreply.github.com> Date: Thu, 13 Jan 2022 07:42:53 +0100 Subject: [PATCH] pppd: Allow use of additional Bnnn constants (#325) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These constants are supported by Linux kernel on SPARC architecture. Signed-off-by: Pali Rohár --- pppd/sys-linux.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 025d70d..7718151 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -909,6 +909,9 @@ struct speed { #ifdef B115200 { 115200, B115200 }, #endif +#ifdef B153600 + { 153600, B153600 }, +#endif #ifdef EXTA { 19200, EXTA }, #endif @@ -918,6 +921,9 @@ struct speed { #ifdef B230400 { 230400, B230400 }, #endif +#ifdef B307200 + { 307200, B307200 }, +#endif #ifdef B460800 { 460800, B460800 }, #endif @@ -927,6 +933,9 @@ struct speed { #ifdef B576000 { 576000, B576000 }, #endif +#ifdef B614400 + { 614400, B614400 }, +#endif #ifdef B921600 { 921600, B921600 }, #endif -- 2.39.2