summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_pcn.c2
-rw-r--r--sys/pci/if_rl.c2
-rw-r--r--sys/pci/if_sf.c2
-rw-r--r--sys/pci/if_sis.c2
-rw-r--r--sys/pci/if_ste.c2
-rw-r--r--sys/pci/if_tl.c2
-rw-r--r--sys/pci/if_vr.c2
-rw-r--r--sys/pci/if_wb.c2
-rw-r--r--sys/pci/if_xl.c2
-rw-r--r--sys/pci/intpm.c4
10 files changed, 11 insertions, 11 deletions
diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c
index bd1827f..8298502 100644
--- a/sys/pci/if_pcn.c
+++ b/sys/pci/if_pcn.c
@@ -670,7 +670,7 @@ pcn_attach(dev)
/* Hook interrupt last to avoid having to lock softc */
error = bus_setup_intr(dev, sc->pcn_irq, INTR_TYPE_NET | INTR_MPSAFE,
- pcn_intr, sc, &sc->pcn_intrhand);
+ NULL, pcn_intr, sc, &sc->pcn_intrhand);
if (error) {
device_printf(dev, "couldn't set up irq\n");
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 66abf6a..ce2f1bb 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -972,7 +972,7 @@ rl_attach(device_t dev)
/* Hook interrupt last to avoid having to lock softc */
error = bus_setup_intr(dev, sc->rl_irq, INTR_TYPE_NET | INTR_MPSAFE,
- rl_intr, sc, &sc->rl_intrhand);
+ NULL, rl_intr, sc, &sc->rl_intrhand);
if (error) {
device_printf(sc->rl_dev, "couldn't set up irq\n");
ether_ifdetach(ifp);
diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c
index a308e40..c76f4d3 100644
--- a/sys/pci/if_sf.c
+++ b/sys/pci/if_sf.c
@@ -784,7 +784,7 @@ sf_attach(dev)
/* Hook interrupt last to avoid having to lock softc */
error = bus_setup_intr(dev, sc->sf_irq, INTR_TYPE_NET | INTR_MPSAFE,
- sf_intr, sc, &sc->sf_intrhand);
+ NULL, sf_intr, sc, &sc->sf_intrhand);
if (error) {
device_printf(dev, "couldn't set up irq\n");
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c
index 400ad27..606788c 100644
--- a/sys/pci/if_sis.c
+++ b/sys/pci/if_sis.c
@@ -1226,7 +1226,7 @@ sis_attach(device_t dev)
/* Hook interrupt last to avoid having to lock softc */
error = bus_setup_intr(dev, sc->sis_res[1], INTR_TYPE_NET | INTR_MPSAFE,
- sis_intr, sc, &sc->sis_intrhand);
+ NULL, sis_intr, sc, &sc->sis_intrhand);
if (error) {
device_printf(dev, "couldn't set up irq\n");
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index 23331d5..ad3586e 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -1113,7 +1113,7 @@ ste_attach(dev)
/* Hook interrupt last to avoid having to lock softc */
error = bus_setup_intr(dev, sc->ste_irq, INTR_TYPE_NET | INTR_MPSAFE,
- ste_intr, sc, &sc->ste_intrhand);
+ NULL, ste_intr, sc, &sc->ste_intrhand);
if (error) {
device_printf(dev, "couldn't set up irq\n");
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index 8384b2c..5d23767 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -1303,7 +1303,7 @@ tl_attach(dev)
/* Hook interrupt last to avoid having to lock softc */
error = bus_setup_intr(dev, sc->tl_irq, INTR_TYPE_NET | INTR_MPSAFE,
- tl_intr, sc, &sc->tl_intrhand);
+ NULL, tl_intr, sc, &sc->tl_intrhand);
if (error) {
device_printf(dev, "couldn't set up irq\n");
diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c
index be38015..45374c3 100644
--- a/sys/pci/if_vr.c
+++ b/sys/pci/if_vr.c
@@ -764,7 +764,7 @@ vr_attach(dev)
/* Hook interrupt last to avoid having to lock softc */
error = bus_setup_intr(dev, sc->vr_irq, INTR_TYPE_NET | INTR_MPSAFE,
- vr_intr, sc, &sc->vr_intrhand);
+ NULL, vr_intr, sc, &sc->vr_intrhand);
if (error) {
device_printf(dev, "couldn't set up irq\n");
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index 1a59713..671a0b3 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -872,7 +872,7 @@ wb_attach(dev)
/* Hook interrupt last to avoid having to lock softc */
error = bus_setup_intr(dev, sc->wb_irq, INTR_TYPE_NET | INTR_MPSAFE,
- wb_intr, sc, &sc->wb_intrhand);
+ NULL, wb_intr, sc, &sc->wb_intrhand);
if (error) {
device_printf(dev, "couldn't set up irq\n");
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index e470f7a..55e4f7d 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -1606,7 +1606,7 @@ done:
ether_ifattach(ifp, eaddr);
error = bus_setup_intr(dev, sc->xl_irq, INTR_TYPE_NET | INTR_MPSAFE,
- xl_intr, sc, &sc->xl_intrhand);
+ NULL, xl_intr, sc, &sc->xl_intrhand);
if (error) {
device_printf(dev, "couldn't set up irq\n");
ether_ifdetach(ifp);
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c
index dee1a71..ab83e75 100644
--- a/sys/pci/intpm.c
+++ b/sys/pci/intpm.c
@@ -159,8 +159,8 @@ intsmb_attach(device_t dev)
goto fail;
}
- error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC, intsmb_rawintr,
- sc, &sc->irq_hand);
+ error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC, NULL,
+ intsmb_rawintr, sc, &sc->irq_hand);
if (error) {
device_printf(dev, "Failed to map intr\n");
goto fail;
OpenPOWER on IntegriCloud