summaryrefslogtreecommitdiffstats
path: root/sys/i4b/capi/iavc/iavc_isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i4b/capi/iavc/iavc_isa.c')
-rw-r--r--sys/i4b/capi/iavc/iavc_isa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/i4b/capi/iavc/iavc_isa.c b/sys/i4b/capi/iavc/iavc_isa.c
index 050426d..3dbb8aa 100644
--- a/sys/i4b/capi/iavc/iavc_isa.c
+++ b/sys/i4b/capi/iavc/iavc_isa.c
@@ -193,9 +193,8 @@ iavc_isa_attach(device_t dev)
sc->sc_resources.irq_rid = 0;
if(!(sc->sc_resources.irq =
- bus_alloc_resource(dev, SYS_RES_IRQ,
- &sc->sc_resources.irq_rid,
- 0UL, ~0UL, 1, RF_ACTIVE)))
+ bus_alloc_resource_any(dev, SYS_RES_IRQ,
+ &sc->sc_resources.irq_rid, RF_ACTIVE)))
{
printf("iavc%d: can't allocate irq\n",unit);
bus_release_resource(dev, SYS_RES_IOPORT,
OpenPOWER on IntegriCloud