From owner-cvs-src@FreeBSD.ORG Thu Mar 25 12:15:51 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE73A16A4CE; Thu, 25 Mar 2004 12:15:51 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FCC343D39; Thu, 25 Mar 2004 12:15:51 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id B80D85309; Thu, 25 Mar 2004 21:15:50 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 748735308; Thu, 25 Mar 2004 21:15:43 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 22FE333CA7; Thu, 25 Mar 2004 21:15:43 +0100 (CET) To: Bill Paul References: <200403251831.i2PIVrkl097680@repoman.freebsd.org> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Thu, 25 Mar 2004 21:15:43 +0100 In-Reply-To: <200403251831.i2PIVrkl097680@repoman.freebsd.org> (Bill Paul's message of "Thu, 25 Mar 2004 10:31:53 -0800 (PST)") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/ndis kern_ndis.c subr_ndis.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 20:15:52 -0000 Bill Paul writes: > Since we can't traverse the resource SLIST backwards, we have to > make a temporary copy of the list in the right order and then build > the Windows resource list from that. I suppose we could just fix > the PCI bus code to use a TAILQ instead, but then I'd have to track > down all the consumers of the BUS_GET_RESOURCE_LIST() and fix them > too. There are practically none: des@dwp ~% gf BUS_GET_RESOURCE_LIST qsrc/sys/compat/ndis/kern_ndis.c: brl =3D BUS_GET_RESOURCE_LIST(devic= e_get_parent(dev), dev); src/sys/dev/if_ndis/if_ndis_pci.c: rl =3D BUS_GET_RESOURCE_LIST(device= _get_parent(dev), dev); src/sys/kern/subr_bus.c: rl =3D BUS_GET_RESOURCE_LIST(dev, child); src/sys/kern/subr_bus.c: rl =3D BUS_GET_RESOURCE_LIST(dev, child); src/sys/kern/subr_bus.c: rl =3D BUS_GET_RESOURCE_LIST(dev, child); src/sys/kern/subr_bus.c: rl =3D BUS_GET_RESOURCE_LIST(dev, child); src/sys/kern/subr_bus.c: rl =3D BUS_GET_RESOURCE_LIST(dev, child); DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no