summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2004-04-21 04:23:51 +0000
committergreen <green@FreeBSD.org>2004-04-21 04:23:51 +0000
commit5ec8677925eb9275df58dcca67398594aaa093b9 (patch)
treecb59a141b11ae228ed31f3c3e07968221df5a67a /sys/dev/sound/pci
parent151234b98aa6f773a15fab64ed368c2bf5070848 (diff)
downloadFreeBSD-src-5ec8677925eb9275df58dcca67398594aaa093b9.zip
FreeBSD-src-5ec8677925eb9275df58dcca67398594aaa093b9.tar.gz
This driver certainly works fine turning INTR_MPSAFE back on. For those
of you with other cards, please do review and test the drivers for MP-safety and disable Giant in the interrupt routines when you are sure of proper functionality.
Diffstat (limited to 'sys/dev/sound/pci')
-rw-r--r--sys/dev/sound/pci/cmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/cmi.c b/sys/dev/sound/pci/cmi.c
index f029872..de5b386 100644
--- a/sys/dev/sound/pci/cmi.c
+++ b/sys/dev/sound/pci/cmi.c
@@ -863,7 +863,7 @@ cmi_attach(device_t dev)
sc->irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->irqid,
RF_ACTIVE | RF_SHAREABLE);
if (!sc->irq ||
- snd_setup_intr(dev, sc->irq, 0, cmi_intr, sc, &sc->ih)) {
+ snd_setup_intr(dev, sc->irq, INTR_MPSAFE, cmi_intr, sc, &sc->ih)) {
device_printf(dev, "cmi_attach: Unable to map interrupt\n");
goto bad;
}
OpenPOWER on IntegriCloud