diff --git a/sys/pci/if_mn.c b/sys/pci/if_mn.c index 3a10bb190229..ebe421f18f2b 100644 --- a/sys/pci/if_mn.c +++ b/sys/pci/if_mn.c @@ -1377,7 +1377,7 @@ mn_attach (device_t self) return(ENXIO); } - error = bus_setup_intr(self, sc->irq, INTR_TYPE_NET, mn_intr, sc, &sc->intrhand); + error = bus_setup_intr(self, sc->irq, INTR_TYPE_NET, NULL, mn_intr, sc, &sc->intrhand); if (error) { printf("couldn't set up irq\n"); diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c index ec411d790366..21f7f850ee84 100644 --- a/sys/pci/ncr.c +++ b/sys/pci/ncr.c @@ -3764,7 +3764,7 @@ ncr_attach (device_t dev) "interruptless mode: reduced performance.\n"); } else { bus_setup_intr(dev, np->irq_res, INTR_TYPE_CAM | INTR_ENTROPY, - ncr_intr, np, &np->irq_handle); + NULL, ncr_intr, np, &np->irq_handle); } /*