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:
imp 2018-07-23 19:27:11 +00:00
parent e4a62e81e5
commit 39662cda9e

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