From 78bb065b842f25dbd7ea47bc11c955e052cd05da Mon Sep 17 00:00:00 2001 From: Ariff Abdullah Date: Fri, 23 Feb 2007 19:39:06 +0000 Subject: [PATCH] Use snd_setup_intr() instead of bus_setup_intr() , like other drivers. --- sys/dev/sound/pci/vibes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/vibes.c b/sys/dev/sound/pci/vibes.c index f9e7c84dd79..81a2b390c22 100644 --- a/sys/dev/sound/pci/vibes.c +++ b/sys/dev/sound/pci/vibes.c @@ -762,7 +762,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_AV, NULL, sv_intr, sc, &sc->ih)) { + snd_setup_intr(dev, sc->irq, 0, sv_intr, sc, &sc->ih)) { device_printf(dev, "sv_attach: Unable to map interrupt\n"); goto fail; }