summaryrefslogtreecommitdiffstats
path: root/sys/dev/stg/tmc18c30_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/stg/tmc18c30_pci.c')
-rw-r--r--sys/dev/stg/tmc18c30_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/stg/tmc18c30_pci.c b/sys/dev/stg/tmc18c30_pci.c
index 4c8fb4c..0ff2e62 100644
--- a/sys/dev/stg/tmc18c30_pci.c
+++ b/sys/dev/stg/tmc18c30_pci.c
@@ -99,8 +99,8 @@ stg_pci_attach(device_t dev)
}
/* XXXX remove INTR_ENTROPY below for MFC */
- error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_CAM | INTR_ENTROPY,
- NULL, stg_intr, (void *)sc, &sc->stg_intrhand);
+ error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_CAM | INTR_ENTROPY |
+ INTR_MPSAFE, NULL, stg_intr, sc, &sc->stg_intrhand);
if (error) {
stg_release_resource(dev);
return(error);
OpenPOWER on IntegriCloud