PERFORCE change 169007 for review
John Baldwin
jhb at FreeBSD.org
Tue Sep 29 14:02:00 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=169007
Change 169007 by jhb at jhb_jhbbsd on 2009/09/29 14:01:34
Remove bogus uses of RF_ALLOCATED.
Affected files ...
.. //depot/projects/multipass/sys/dev/ctau/if_ct.c#4 edit
.. //depot/projects/multipass/sys/dev/cx/if_cx.c#4 edit
.. //depot/projects/multipass/sys/dev/digi/digi_isa.c#2 edit
Differences ...
==== //depot/projects/multipass/sys/dev/ctau/if_ct.c#4 (text+ko) ====
@@ -337,8 +337,7 @@
{
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);
==== //depot/projects/multipass/sys/dev/cx/if_cx.c#4 (text+ko) ====
@@ -424,8 +424,7 @@
{
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);
==== //depot/projects/multipass/sys/dev/digi/digi_isa.c#2 (text+ko) ====
@@ -292,7 +292,7 @@
/* 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,
More information about the p4-projects
mailing list