diff options
Diffstat (limited to 'sys/dev/snc/if_snc.c')
-rw-r--r-- | sys/dev/snc/if_snc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/snc/if_snc.c b/sys/dev/snc/if_snc.c index ad504cd..69a6ca6 100644 --- a/sys/dev/snc/if_snc.c +++ b/sys/dev/snc/if_snc.c @@ -124,8 +124,7 @@ snc_alloc_irq(dev, rid, flags) struct snc_softc *sc = device_get_softc(dev); struct resource *res; - res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, - 0ul, ~0ul, 1, (RF_ACTIVE | flags)); + res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE | flags); if (res) { sc->irq = res; sc->irq_rid = rid; |