diff options
Diffstat (limited to 'sys/dev/an')
-rw-r--r-- | sys/dev/an/if_an.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index ae50861..87a6d61 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -432,8 +432,8 @@ an_alloc_irq(dev, rid, flags) struct an_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_rid = rid; sc->irq_res = res; |