summaryrefslogtreecommitdiffstats
path: root/sys/dev/lnc/if_lnc_cbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/lnc/if_lnc_cbus.c')
-rw-r--r--sys/dev/lnc/if_lnc_cbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/lnc/if_lnc_cbus.c b/sys/dev/lnc/if_lnc_cbus.c
index 824f9ed..a6bc56d 100644
--- a/sys/dev/lnc/if_lnc_cbus.c
+++ b/sys/dev/lnc/if_lnc_cbus.c
@@ -164,8 +164,8 @@ lnc_isa_attach(device_t dev)
bus_set_resource(dev, SYS_RES_IRQ, 0, 6, 1);
sc->irqrid = 0;
- sc->irqres = bus_alloc_resource(dev, SYS_RES_IRQ, &sc->irqrid, 0, ~0, 1,
- RF_ACTIVE);
+ sc->irqres = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->irqrid,
+ RF_ACTIVE);
if (! sc->irqres) {
device_printf(dev, "Failed to allocate irq\n");
OpenPOWER on IntegriCloud