From 05a1f56fc999f634406946e831eea6deaaa75a99 Mon Sep 17 00:00:00 2001 From: njl Date: Wed, 17 Mar 2004 17:50:55 +0000 Subject: Convert callers to the new bus_alloc_resource_any(9) API. Submitted by: Mark Santcroos Reviewed by: imp, dfr, bde --- sys/pccard/mecia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/pccard/mecia.c') 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); -- cgit v1.1