diff options
Diffstat (limited to 'sys/dev/aic/aic_pccard.c')
-rw-r--r-- | sys/dev/aic/aic_pccard.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/aic/aic_pccard.c b/sys/dev/aic/aic_pccard.c index f222f9c..bebee3f 100644 --- a/sys/dev/aic/aic_pccard.c +++ b/sys/dev/aic/aic_pccard.c @@ -82,8 +82,7 @@ aic_pccard_alloc_resources(device_t dev) return (ENOMEM); rid = 0; - sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, - 0ul, ~0ul, 1, RF_ACTIVE); + sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE); if (!sc->sc_irq) { aic_pccard_release_resources(dev); return (ENOMEM); |