diff options
author | Ed Maste <emaste@FreeBSD.org> | 2023-08-17 17:14:52 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2023-08-17 17:31:38 +0000 |
commit | 4722ceb7d53e76507c76e053caab6b6f7b24ecef (patch) | |
tree | 714f8326fde0e680b603fa8f079a005e2f9da258 /sys/dev/usb | |
parent | 5f72ceb2c50d4fa316d26c51849baa200a38c1d8 (diff) |
Use 115200 bps by default for serial communication
9600 was a standard baud rate decades ago, but 115200 is now more common
so choose defaults that are useful to the largest number of users.
Note that boot0sio does not support rates above 9600 so it remains
unchanged.
Reviewed by: bz, imp, manu
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36295
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/serial/usb_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/serial/usb_serial.c b/sys/dev/usb/serial/usb_serial.c index 3a9b198b9ed8..300438010c05 100644 --- a/sys/dev/usb/serial/usb_serial.c +++ b/sys/dev/usb/serial/usb_serial.c @@ -130,7 +130,7 @@ static unsigned ucom_cons_tx_high = 0; static int ucom_cons_unit = -1; static int ucom_cons_subunit = 0; -static int ucom_cons_baud = 9600; +static int ucom_cons_baud = 115200; static struct ucom_softc *ucom_cons_softc = NULL; SYSCTL_INT(_hw_usb_ucom, OID_AUTO, cons_unit, CTLFLAG_RWTUN, |