summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/vibes.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-06-16 22:59:46 +0000
committerpeter <peter@FreeBSD.org>2001-06-16 22:59:46 +0000
commitcaf4a686e5258035deb90edbdbed7fd0b8958bd4 (patch)
treee21ea45a28bacc8b26342f453d5ea29a7e27ec9f /sys/dev/sound/pci/vibes.c
parent38ecd59e07aead868125833230bcfd1b264ff134 (diff)
downloadFreeBSD-src-caf4a686e5258035deb90edbdbed7fd0b8958bd4.zip
FreeBSD-src-caf4a686e5258035deb90edbdbed7fd0b8958bd4.tar.gz
Use INTR_TYPE_AV for the interrupt handlers because:
1: most drivers are sensitive to timing, and 2: the handlers are MPSAFE and need a chance to get into the kernel before some other non-mpsafe handler blocks the ithread on Giant in shared irq cases. Reviewed by: cg (in principle)
Diffstat (limited to 'sys/dev/sound/pci/vibes.c')
-rw-r--r--sys/dev/sound/pci/vibes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/vibes.c b/sys/dev/sound/pci/vibes.c
index f160351..41a8c58 100644
--- a/sys/dev/sound/pci/vibes.c
+++ b/sys/dev/sound/pci/vibes.c
@@ -760,7 +760,7 @@ sv_attach(device_t dev) {
sc->irq = bus_alloc_resource(dev, SYS_RES_IRQ, &sc->irqid,
0, ~0, 1, RF_ACTIVE | RF_SHAREABLE);
if (!sc->irq ||
- bus_setup_intr(dev, sc->irq, INTR_TYPE_TTY, sv_intr, sc, &sc->ih)) {
+ bus_setup_intr(dev, sc->irq, INTR_TYPE_AV, sv_intr, sc, &sc->ih)) {
device_printf(dev, "sv_attach: Unable to map interrupt\n");
goto fail;
}
OpenPOWER on IntegriCloud