diff options
author | marcel <marcel@FreeBSD.org> | 2003-09-10 05:01:08 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-09-10 05:01:08 +0000 |
commit | 0dc22d58efc879700a8c6cd8a607f8e902af36bf (patch) | |
tree | bafb0fbbafc5e53ca36a2f587ccd221f81a120cf /sys/dev/uart | |
parent | b6905f75eefbd4a3fd8d0ee1044e754ec2d30351 (diff) | |
download | FreeBSD-src-0dc22d58efc879700a8c6cd8a607f8e902af36bf.zip FreeBSD-src-0dc22d58efc879700a8c6cd8a607f8e902af36bf.tar.gz |
If we failed to size the Rx FIFO, assume the worst. This however
is not a size of 1. Since we already know there is a FIFO, we can
safely assume that it is at least 16 bytes. Note that all this is
mostly academic anyway. We don't use the size of the Rx FIFO
currently. If we add support for hardware flow control, we only
care about Rx FIFO sizes larger than 16.
Diffstat (limited to 'sys/dev/uart')
-rw-r--r-- | sys/dev/uart/uart_dev_ns8250.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_dev_ns8250.c b/sys/dev/uart/uart_dev_ns8250.c index d09371d..ea5d5d0 100644 --- a/sys/dev/uart/uart_dev_ns8250.c +++ b/sys/dev/uart/uart_dev_ns8250.c @@ -638,7 +638,7 @@ ns8250_bus_probe(struct uart_softc *sc) sc->sc_rxfifosz = 128; device_set_desc(sc->sc_dev, "16950 or compatible"); } else { - sc->sc_rxfifosz = 1; + sc->sc_rxfifosz = 16; device_set_desc(sc->sc_dev, "Non-standard ns8250 class UART with FIFOs"); } |