From 46700f12593fc9ea939b09ed621c63de8d9ed01c Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 16 Jun 2001 22:59:46 +0000 Subject: 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) --- sys/dev/sound/pci/vibes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/sound/pci/vibes.c') diff --git a/sys/dev/sound/pci/vibes.c b/sys/dev/sound/pci/vibes.c index f160351aa3da..41a8c5868eeb 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; } -- cgit v1.2.3