diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2006-02-22 18:16:26 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2006-02-22 18:16:26 +0000 |
| commit | 57fb5e60974fbb2770aa12b4a72114660228c236 (patch) | |
| tree | 804a52776d979b0d584c9efe815d95731c11d05d /sys/dev/uart/uart_core.c | |
| parent | f8e3eeb519c0641c05bd194209731daa2aca30b1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/uart/uart_core.c')
| -rw-r--r-- | sys/dev/uart/uart_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index b2ff203d0b2a..51d618f4e53b 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -332,11 +332,11 @@ uart_bus_attach(device_t dev) sc->sc_ires = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->sc_irid, RF_ACTIVE | RF_SHAREABLE); if (sc->sc_ires != NULL) { - error = BUS_SETUP_INTR(device_get_parent(dev), dev, + error = bus_setup_intr(dev, sc->sc_ires, INTR_TYPE_TTY | INTR_FAST, uart_intr, sc, &sc->sc_icookie); if (error) - error = BUS_SETUP_INTR(device_get_parent(dev), dev, + error = bus_setup_intr(dev, sc->sc_ires, INTR_TYPE_TTY | INTR_MPSAFE, uart_intr, sc, &sc->sc_icookie); else |
