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.
This commit is contained in:
Marcel Moolenaar 2003-09-10 05:01:08 +00:00
parent e1d237ec05
commit c21e0da2f8

View File

@ -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");
}