Module Name: src Committed By: jakllsch Date: Fri Dec 7 19:01:11 UTC 2018
Modified Files: src/sys/sys: termios.h Log Message: Add speeds B500000 to B4000000 in increments of 500000. Motivated by picocom checking for the existance of these at compile time, and therefor previously not being able able to use picocom to access the consoles of modern Rockchip SoCs (for example RK3399) running at B1500000. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/sys/termios.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/termios.h diff -u src/sys/sys/termios.h:1.35 src/sys/sys/termios.h:1.36 --- src/sys/sys/termios.h:1.35 Fri Dec 7 18:45:13 2018 +++ src/sys/sys/termios.h Fri Dec 7 19:01:11 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: termios.h,v 1.35 2018/12/07 18:45:13 jakllsch Exp $ */ +/* $NetBSD: termios.h,v 1.36 2018/12/07 19:01:11 jakllsch Exp $ */ /* * Copyright (c) 1988, 1989, 1993, 1994 @@ -237,7 +237,15 @@ struct termios { #define B115200 115200U #define B230400 230400U #define B460800 460800U +#define B500000 500000U #define B921600 921600U +#define B1000000 1000000U +#define B1500000 1500000U +#define B2000000 2000000U +#define B2500000 2500000U +#define B3000000 3000000U +#define B3500000 3500000U +#define B4000000 4000000U #define EXTA 19200U #define EXTB 38400U #endif /* defined(_NETBSD_SOURCE) */