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:
parent
3b1afd0f92
commit
83496acdc6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166978
@ -121,8 +121,8 @@ pswitch_attach(device_t dev)
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
if (bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC | INTR_FAST,
|
||||
pswitch_intr, dev, &sc->sc_ih) != 0) {
|
||||
if (bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC,
|
||||
pswitch_intr, NULL, dev, &sc->sc_ih) != 0) {
|
||||
device_printf(dev, "could not setup interrupt\n");
|
||||
bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irqrid,
|
||||
sc->sc_irq);
|
||||
|
Loading…
Reference in New Issue
Block a user