diff options
Diffstat (limited to 'sys/dev/awi/if_awi_pccard.c')
-rw-r--r-- | sys/dev/awi/if_awi_pccard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/awi/if_awi_pccard.c b/sys/dev/awi/if_awi_pccard.c index f29708d..56f36a8 100644 --- a/sys/dev/awi/if_awi_pccard.c +++ b/sys/dev/awi/if_awi_pccard.c @@ -162,8 +162,8 @@ awi_pccard_attach(device_t dev) sc->sc_chip.sc_ioh = rman_get_bushandle(psc->sc_port_res); psc->sc_irq_rid = 0; - psc->sc_irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, - &psc->sc_irq_rid, 0, ~0, 1, RF_ACTIVE); + psc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, + &psc->sc_irq_rid, RF_ACTIVE); if (!psc->sc_irq_res) { device_printf(dev, "awi_pccard_attach: irq alloc failed\n"); goto fail; |