summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-10-29 18:32:14 +0000
committersam <sam@FreeBSD.org>2003-10-29 18:32:14 +0000
commit47bb0c3b0937c1a26b782c6a5d860d7a38323466 (patch)
tree8b1bf6d1d562ae3f014dc773e10b7d401a1da806 /sys/dev/fxp
parent1beb7cc4f2bb410e4d3c01bc4e769d480cf7738a (diff)
downloadFreeBSD-src-47bb0c3b0937c1a26b782c6a5d860d7a38323466.zip
FreeBSD-src-47bb0c3b0937c1a26b782c6a5d860d7a38323466.tar.gz
mark interrupt handlers MPSAFE
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 547080e..7fa3e88 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");
OpenPOWER on IntegriCloud