diff options
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/fxp/if_fxp.c | 2 | ||||
| -rw-r--r-- | sys/dev/wi/if_wi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 547080e8c7059..7fa3e88530de0 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -834,7 +834,7 @@ fxp_attach(device_t dev) * however, ifp and its functions are not fully locked so MPSAFE * should not be used unless you can handle potential data loss. */ - error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET /*|INTR_MPSAFE*/, + error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET | INTR_MPSAFE, fxp_intr, sc, &sc->ih); if (error) { device_printf(dev, "could not setup irq\n"); diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index e8182d0f758fb..e70698d70fd03 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -256,7 +256,7 @@ wi_attach(device_t dev) * NB: no locking is needed here; don't put it here * unless you can prove it! */ - error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET, + error = bus_setup_intr(dev, sc->irq, INTR_TYPE_NET | INTR_MPSAFE, wi_intr, sc, &sc->wi_intrhand); if (error) { |
