From owner-p4-projects@FreeBSD.ORG Tue Sep 29 14:02:00 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 61F25106568F; Tue, 29 Sep 2009 14:02:00 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 268AF106566B for ; Tue, 29 Sep 2009 14:02:00 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 13E2F8FC20 for ; Tue, 29 Sep 2009 14:02:00 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8TE1xPC079691 for ; Tue, 29 Sep 2009 14:01:59 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8TE1xuZ079689 for perforce@freebsd.org; Tue, 29 Sep 2009 14:01:59 GMT (envelope-from jhb@freebsd.org) Date: Tue, 29 Sep 2009 14:01:59 GMT Message-Id: <200909291401.n8TE1xuZ079689@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 169007 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 14:02:00 -0000 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,