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

Alfred Perlstein alfred at freebsd.org
Thu Mar 25 15:40:24 PST 2004


* M. Warner Losh <imp at bsdimp.com> [040325 14:11] wrote:
> In message: <xzpvfksfztc.fsf at dwp.des.no>
>             des at des.no (Dag-Erling Sm?rgrav) writes:
> : Bill Paul <wpaul at FreeBSD.org> writes:
> : 
> : 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.

:(

Shouldn't we have macros:

BUS_GET_RESOURCE_NEXT ?

(instead of SLIST_NEXT)

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684


More information about the cvs-src mailing list