diff options
-rw-r--r-- | sys/dev/ctau/if_ct.c | 3 | ||||
-rw-r--r-- | sys/dev/cx/if_cx.c | 3 | ||||
-rw-r--r-- | sys/dev/digi/digi_isa.c | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c index 397c3ac..d0b68bc 100644 --- a/sys/dev/ctau/if_ct.c +++ b/sys/dev/ctau/if_ct.c @@ -323,8 +323,7 @@ static int ct_is_free_res (device_t dev, int rid, int type, u_long start, { struct resource *res; - if (!(res = bus_alloc_resource (dev, type, &rid, start, end, count, - RF_ALLOCATED))) + if (!(res = bus_alloc_resource (dev, type, &rid, start, end, count, 0))) return 0; bus_release_resource (dev, type, rid, res); diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index 360e1f6..2327403 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -410,8 +410,7 @@ static int cx_is_free_res (device_t dev, int rid, int type, u_long start, { struct resource *res; - if (!(res = bus_alloc_resource (dev, type, &rid, start, end, count, - RF_ALLOCATED))) + if (!(res = bus_alloc_resource (dev, type, &rid, start, end, count, 0))) return 0; bus_release_resource (dev, type, rid, res); diff --git a/sys/dev/digi/digi_isa.c b/sys/dev/digi/digi_isa.c index 0a0a2a0..d0741ac 100644 --- a/sys/dev/digi/digi_isa.c +++ b/sys/dev/digi/digi_isa.c @@ -292,7 +292,7 @@ digi_isa_probe(device_t dev) /* Temporarily map our memory */ sc->res.mrid = 0; sc->res.mem = bus_alloc_resource(dev, SYS_RES_MEMORY, &sc->res.mrid, - 0ul, ~0ul, sc->win_size, RF_ALLOCATED); + 0ul, ~0ul, sc->win_size, 0); if (sc->res.mem == NULL) { device_printf(dev, "0x%lx: Memory range is in use\n", sc->pmem); bus_release_resource(dev, SYS_RES_IOPORT, sc->res.iorid, |