summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/if_plip.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-02-22 18:16:26 +0000
committerjhb <jhb@FreeBSD.org>2006-02-22 18:16:26 +0000
commit4793b3db380bcaac1d396101ed11d3b3001642e5 (patch)
tree804a52776d979b0d584c9efe815d95731c11d05d /sys/dev/ppbus/if_plip.c
parent82b4c8972021decda7584eb5dce699df1de06416 (diff)
downloadFreeBSD-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/ppbus/if_plip.c')
-rw-r--r--sys/dev/ppbus/if_plip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c
index 2b71be4..2af0fd1 100644
--- a/sys/dev/ppbus/if_plip.c
+++ b/sys/dev/ppbus/if_plip.c
@@ -357,7 +357,7 @@ lpioctl (struct ifnet *ifp, u_long cmd, caddr_t data)
}
/* attach our interrupt handler, later detached when the bus is released */
- if ((error = BUS_SETUP_INTR(ppbus, dev, sc->res_irq,
+ if ((error = bus_setup_intr(dev, sc->res_irq,
INTR_TYPE_NET, lp_intr, dev, &ih))) {
ppb_release_bus(ppbus, dev);
return (error);
OpenPOWER on IntegriCloud