Now that we set the busy_detect bit in the bas to support setting it

for the console, set our override in the bas as well.

Tested by: emaste@
This commit is contained in:
Warner Losh 2018-07-23 19:27:11 +00:00
parent 6f77212f27
commit da8e85391f

View File

@ -107,7 +107,7 @@ snps_uart_attach(struct uart_softc *uart_sc)
sc = (struct snps_softc *)uart_sc;
/* UART requires to read USR reg when IIR_BUSY */
sc->ns8250.busy_detect = 1;
uart_sc->sc_bas.busy_detect = 1;
return (ns8250_bus_attach(uart_sc));
}