Date: Thu, 25 Mar 2004 15:10:18 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: des@des.no Cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/ndis kern_ndis.c subr_ndis.c Message-ID: <20040325.151018.82302651.imp@bsdimp.com> In-Reply-To: <xzpvfksfztc.fsf@dwp.des.no> References: <200403251831.i2PIVrkl097680@repoman.freebsd.org> <xzpvfksfztc.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <xzpvfksfztc.fsf@dwp.des.no> des@des.no (Dag-Erling Sm=F8rgrav) writes: : Bill Paul <wpaul@FreeBSD.org> writes: : > Since we can't traverse the resource SLIST backwards, we have t= o : > make a temporary copy of the list in the right order and then b= uild : > the Windows resource list from that. I suppose we could just fi= x : > the PCI bus code to use a TAILQ instead, but then I'd have to t= rack : > down all the consumers of the BUS_GET_RESOURCE_LIST() and fix t= hem : > 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= (device_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, chi= ld); : src/sys/kern/subr_bus.c: rl =3D BUS_GET_RESOURCE_LIST(dev, chi= ld); : src/sys/kern/subr_bus.c: rl =3D BUS_GET_RESOURCE_LIST(dev, chi= ld); : src/sys/kern/subr_bus.c: rl =3D BUS_GET_RESOURCE_LIST(dev, chi= ld); : src/sys/kern/subr_bus.c: rl =3D BUS_GET_RESOURCE_LIST(dev, chi= ld); Acutally, there are alot of downstream users of rl. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040325.151018.82302651.imp>