diff options
author | adrian <adrian@FreeBSD.org> | 2015-11-18 06:24:21 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-11-18 06:24:21 +0000 |
commit | bdc602f4b54cd66029f14fa9c1fa2a2c8c5dcc04 (patch) | |
tree | 98c66a1b581d674b5d059e5b0cf58a1c18b7ab01 /sys/conf/options | |
parent | 9a275d9bdcdedd71f6cbebd81edd7943e3ca73dd (diff) | |
download | FreeBSD-src-bdc602f4b54cd66029f14fa9c1fa2a2c8c5dcc04.zip FreeBSD-src-bdc602f4b54cd66029f14fa9c1fa2a2c8c5dcc04.tar.gz |
uart(4) - make the 8250 uart baudrate tolerance build time tweakable.
It turns out on a 16550 w/ a 25MHz SoC reference clock you get a little
over 3% error at 115200 baud, which causes this to fail.
Just .. cope. Things cope these days.
Default to 30 (3.0%) as before, but allow UART_DEV_TOLERANCE_PCT to be
set at build time to change that.
Diffstat (limited to 'sys/conf/options')
-rw-r--r-- | sys/conf/options | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options index 346e22e..4938dda 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -650,6 +650,7 @@ BKTR_NEW_MSP34XX_DRIVER opt_bktr.h # Options for uart(4) UART_PPS_ON_CTS opt_uart.h UART_POLL_FREQ opt_uart.h +UART_DEV_TOLERANCE_PCT opt_uart.h # options for bus/device framework BUS_DEBUG opt_bus.h |