From: pali <7141871+pali@users.noreply.github.com> Date: Thu, 13 Jan 2022 06:42:53 +0000 (+0100) Subject: pppd: Allow use of additional Bnnn constants (#325) X-Git-Tag: ppp-2.5.0~43 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=81a4d35394096e4e9bd7b9b189e91190e58b02a7;p=ppp.git pppd: Allow use of additional Bnnn constants (#325) These constants are supported by Linux kernel on SPARC architecture. Signed-off-by: Pali Rohár --- 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