diff options
author | Matt Macy <mmacy@FreeBSD.org> | 2018-08-19 21:10:21 +0000 |
---|---|---|
committer | Matt Macy <mmacy@FreeBSD.org> | 2018-08-19 21:10:21 +0000 |
commit | 381388b9c48b07b08199b07b7657d46e8fcb59b0 (patch) | |
tree | a95a9c1e5dc8cd866c7f14db66b0439bc7156de2 /sys/dev/uart/uart_core.c | |
parent | 8d67357c5c5896446984f206fec86f818aa1c22c (diff) |
Notes
Diffstat (limited to 'sys/dev/uart/uart_core.c')
-rw-r--r-- | sys/dev/uart/uart_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index fe722cb3eb2d9..87874e4d11d0f 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -493,7 +493,7 @@ uart_bus_sysdev(device_t dev) } int -uart_bus_probe(device_t dev, int regshft, int regiowidth, int rclk, int rid, int chan) +uart_bus_probe(device_t dev, int regshft, int regiowidth, int rclk, int rid, int chan, int quirks) { struct uart_softc *sc; struct uart_devinfo *sysdev; @@ -553,6 +553,7 @@ uart_bus_probe(device_t dev, int regshft, int regiowidth, int rclk, int rid, int sc->sc_bas.regshft = regshft; sc->sc_bas.regiowidth = regiowidth; sc->sc_bas.rclk = (rclk == 0) ? sc->sc_class->uc_rclk : rclk; + sc->sc_bas.busy_detect = !!(quirks & UART_F_BUSY_DETECT); SLIST_FOREACH(sysdev, &uart_sysdevs, next) { if (chan == sysdev->bas.chan && |