aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vx
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/vx')
-rw-r--r--sys/dev/vx/if_vx_eisa.c4
-rw-r--r--sys/dev/vx/if_vx_pci.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/vx/if_vx_eisa.c b/sys/dev/vx/if_vx_eisa.c
index 459e34841342..9eb41a4d7aac 100644
--- a/sys/dev/vx/if_vx_eisa.c
+++ b/sys/dev/vx/if_vx_eisa.c
@@ -152,8 +152,8 @@ vx_eisa_attach(device_t dev)
if (vx_attach(dev) == 0)
goto bad;
- if (bus_setup_intr(dev, irq, INTR_TYPE_NET | INTR_MPSAFE, vx_intr, sc,
- &sc->vx_intrhand))
+ if (bus_setup_intr(dev, irq, INTR_TYPE_NET | INTR_MPSAFE, NULL,
+ vx_intr, sc, &sc->vx_intrhand))
goto bad_mtx;
return (0);
diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c
index dc0fea7a578c..194887f5040b 100644
--- a/sys/dev/vx/if_vx_pci.c
+++ b/sys/dev/vx/if_vx_pci.c
@@ -148,7 +148,7 @@ vx_pci_attach(device_t dev)
goto bad;
if (bus_setup_intr(dev, sc->vx_irq, INTR_TYPE_NET | INTR_MPSAFE,
- vx_intr, sc, &sc->vx_intrhand))
+ NULL, vx_intr, sc, &sc->vx_intrhand))
goto bad_mtx;
/* defect check for 3C590 */