Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 1999 18:37:27 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/pci pci.c 
Message-ID:  <19991122103727.982511C6D@overcee.netplex.com.au>
In-Reply-To: Message from Doug Rabson <dfr@nlsystems.com>  of "Mon, 22 Nov 1999 10:23:52 GMT." <Pine.BSF.4.10.9911221022330.318-100000@salmon.nlsystems.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson wrote:
> On Sat, 20 Nov 1999, Peter Wemm wrote:
> 
> > peter       1999/11/20 06:54:29 PST
> > 
> >   Modified files:
> >     sys/pci              pci.c 
> >   Log:
> >   Allow NULL for startp and/or countp in bus_get_resource() so that you can
> >   get one of the two without having to use a dummy variable.
> 
> Or use bus_get_resource_{start,count}(). This change should go in
> isa_common.c as well and the 'documentation' for BUS_GET_RESOURCE in
> bus_if.m should be changed.

But bus_get_resource_start() (for example) returns 0 on error.. That's
indistinguishable from (say) irq 0...  The helpers weren't all that useful
after all.

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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