diff options
author | jhb <jhb@FreeBSD.org> | 2006-02-22 18:16:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-02-22 18:16:26 +0000 |
commit | 4793b3db380bcaac1d396101ed11d3b3001642e5 (patch) | |
tree | 804a52776d979b0d584c9efe815d95731c11d05d /sys/dev/mse | |
parent | 82b4c8972021decda7584eb5dce699df1de06416 (diff) | |
download | FreeBSD-src-4793b3db380bcaac1d396101ed11d3b3001642e5.zip FreeBSD-src-4793b3db380bcaac1d396101ed11d3b3001642e5.tar.gz |
- Use bus_setup_intr() and bus_teardown_intr() to register device driver
interrupt handlers rather than BUS_SETUP_INTR() and BUS_TEARDOWN_INTR().
Uses of the BUS_*() versions in the implementation of foo_intr methods
in bus drivers were not changed. Mostly this just means that some
drivers might start printing diagnostic messages like [FAST] when
appropriate as well as honoring mpsafenet=0.
- Fix two more of the ppbus drivers' identify routines to function
correctly in the mythical case of a machine with more than one ppbus.
Diffstat (limited to 'sys/dev/mse')
-rw-r--r-- | sys/dev/mse/mse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index 1c2a986..025faea 100644 --- a/sys/dev/mse/mse.c +++ b/sys/dev/mse/mse.c @@ -134,7 +134,7 @@ mse_common_attach(device_t dev) return ENXIO; } - if (BUS_SETUP_INTR(device_get_parent(dev), dev, sc->sc_intr, + if (bus_setup_intr(dev, sc->sc_intr, INTR_TYPE_TTY, mseintr, sc, &sc->sc_ih)) { bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->sc_port); bus_release_resource(dev, SYS_RES_IRQ, rid, sc->sc_intr); |