summaryrefslogtreecommitdiffstats
path: root/sys/dev/pcic/i82365_isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pcic/i82365_isa.c')
-rw-r--r--sys/dev/pcic/i82365_isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pcic/i82365_isa.c b/sys/dev/pcic/i82365_isa.c
index af3d134..0a46415 100644
--- a/sys/dev/pcic/i82365_isa.c
+++ b/sys/dev/pcic/i82365_isa.c
@@ -297,7 +297,7 @@ pcic_isa_probe(device_t dev)
if (bus_get_resource_start(dev, SYS_RES_IOPORT, 0) == 0)
return (ENXIO);
rid = 0;
- res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1, RF_ACTIVE);
+ res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);
if (res == NULL) {
/*
* No IRQ specified, find one. This can be due to the PnP
OpenPOWER on IntegriCloud