diff options
Diffstat (limited to 'sys/dev/pccard/pccard.c')
-rw-r--r-- | sys/dev/pccard/pccard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c index 419d27d..55679b1 100644 --- a/sys/dev/pccard/pccard.c +++ b/sys/dev/pccard/pccard.c @@ -450,8 +450,8 @@ pccard_function_init(struct pccard_function *pf) } if (cfe->irqmask) { cfe->irqrid = 0; - r = cfe->irqres = bus_alloc_resource(bus, SYS_RES_IRQ, - &cfe->irqrid, 0, ~0, 1, 0); + r = cfe->irqres = bus_alloc_resource_any(bus, + SYS_RES_IRQ, &cfe->irqrid, 0); if (cfe->irqres == NULL) goto not_this_one; resource_list_add(rl, SYS_RES_IRQ, cfe->irqrid, |