From 5ec8677925eb9275df58dcca67398594aaa093b9 Mon Sep 17 00:00:00 2001 From: green Date: Wed, 21 Apr 2004 04:23:51 +0000 Subject: 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. --- sys/dev/sound/pci/cmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/sound') 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; } -- cgit v1.1