cvs commit: src/sys/compat/ndis kern_ndis.c subr_ndis.c

M. Warner Losh imp at bsdimp.com
Thu Mar 25 14:10:23 PST 2004


In message: <xzpvfksfztc.fsf at dwp.des.no>
            des at des.no (Dag-Erling Smørgrav) writes:
: Bill Paul <wpaul at FreeBSD.org> 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 at dwp ~% gf BUS_GET_RESOURCE_LIST
: qsrc/sys/compat/ndis/kern_ndis.c:       brl = BUS_GET_RESOURCE_LIST(device_get_parent(dev), dev);
: src/sys/dev/if_ndis/if_ndis_pci.c:      rl = BUS_GET_RESOURCE_LIST(device_get_parent(dev), dev);
: src/sys/kern/subr_bus.c:        rl = BUS_GET_RESOURCE_LIST(dev, child);
: src/sys/kern/subr_bus.c:        rl = BUS_GET_RESOURCE_LIST(dev, child);
: src/sys/kern/subr_bus.c:        rl = BUS_GET_RESOURCE_LIST(dev, child);
: src/sys/kern/subr_bus.c:        rl = BUS_GET_RESOURCE_LIST(dev, child);
: src/sys/kern/subr_bus.c:        rl = BUS_GET_RESOURCE_LIST(dev, child);

Acutally, there are alot of downstream users of rl.

Warner


More information about the cvs-src mailing list