1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Catch up with bus_setup_intr() modification and garbage collect a

reference to INTR_FAST.
This commit is contained in:
Paolo Pisati 2007-02-25 15:04:08 +00:00
parent 3b1afd0f92
commit 83496acdc6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166978

View File

@ -121,8 +121,8 @@ pswitch_attach(device_t dev)
return (ENXIO); return (ENXIO);
} }
if (bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC | INTR_FAST, if (bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC,
pswitch_intr, dev, &sc->sc_ih) != 0) { pswitch_intr, NULL, dev, &sc->sc_ih) != 0) {
device_printf(dev, "could not setup interrupt\n"); device_printf(dev, "could not setup interrupt\n");
bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irqrid, bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irqrid,
sc->sc_irq); sc->sc_irq);