Date: Tue, 29 Sep 2009 14:01:59 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 169007 for review Message-ID: <200909291401.n8TE1xuZ079689@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=169007 Change 169007 by jhb@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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909291401.n8TE1xuZ079689>