Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2004 15:40:24 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        wpaul@FreeBSD.org
Subject:   Re: cvs commit: src/sys/compat/ndis kern_ndis.c subr_ndis.c
Message-ID:  <20040325234024.GJ26131@elvis.mu.org>
In-Reply-To: <20040325.151018.82302651.imp@bsdimp.com>
References:  <200403251831.i2PIVrkl097680@repoman.freebsd.org> <xzpvfksfztc.fsf@dwp.des.no> <20040325.151018.82302651.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* M. Warner Losh <imp@bsdimp.com> [040325 14:11] wrote:
> In message: <xzpvfksfztc.fsf@dwp.des.no>
>             des@des.no (Dag-Erling Sm?rgrav) writes:
> : Bill Paul <wpaul@FreeBSD.org> writes:
> : 
> : des@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@mu.org cell: 408-480-4684



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040325234024.GJ26131>