summaryrefslogtreecommitdiffstats
path: root/sys/pccard/mecia.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pccard/mecia.c')
-rw-r--r--sys/pccard/mecia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/mecia.c b/sys/pccard/mecia.c
index f3c5b11..07e58ca 100644
--- a/sys/pccard/mecia.c
+++ b/sys/pccard/mecia.c
@@ -153,7 +153,7 @@ mecia_attach(device_t dev)
validunits++;
rid = 0;
- r = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, RF_ACTIVE);
+ r = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
if (!r)
return (ENXIO);
OpenPOWER on IntegriCloud