Date: Mon, 22 Nov 1999 10:59:34 +0000 (GMT) From: Doug Rabson <dfr@nlsystems.com> To: Peter Wemm <peter@netplex.com.au> Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/pci pci.c Message-ID: <Pine.BSF.4.10.9911221058460.318-100000@salmon.nlsystems.com> In-Reply-To: <19991122103727.982511C6D@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Nov 1999, Peter Wemm wrote: > 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. Oh well. They are still useful if you know by some other means that the resource exists. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 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?Pine.BSF.4.10.9911221058460.318-100000>