diff options
author | ariff <ariff@FreeBSD.org> | 2007-02-23 19:39:06 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2007-02-23 19:39:06 +0000 |
commit | b702560df406d6630bcb89b3c26d8f93fc7c5cad (patch) | |
tree | e61d64676141ee09efd313ae6a368e5a7e32d022 /sys/dev/sound | |
parent | 82cd4163b485606155811198eb2a033d1932002a (diff) | |
download | FreeBSD-src-b702560df406d6630bcb89b3c26d8f93fc7c5cad.zip FreeBSD-src-b702560df406d6630bcb89b3c26d8f93fc7c5cad.tar.gz |
Use snd_setup_intr() instead of bus_setup_intr() , like other drivers.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r-- | sys/dev/sound/pci/vibes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/vibes.c b/sys/dev/sound/pci/vibes.c index f9e7c84..81a2b39 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; } |