mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Use snd_setup_intr() instead of bus_setup_intr() , like other drivers.
This commit is contained in:
parent
9c68675bae
commit
78bb065b84
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue