Author: imp Date: Mon Jul 23 19:27:11 2018 New Revision: 336648 URL: https://svnweb.freebsd.org/changeset/base/336648
Log: 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@ Modified: head/sys/dev/uart/uart_dev_snps.c Modified: head/sys/dev/uart/uart_dev_snps.c ============================================================================== --- head/sys/dev/uart/uart_dev_snps.c Mon Jul 23 18:47:04 2018 (r336647) +++ head/sys/dev/uart/uart_dev_snps.c Mon Jul 23 19:27:11 2018 (r336648) @@ -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)); } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"