Date: Fri, 19 May 2000 09:14:09 +0200 From: Alexander Langer <alex@big.endian.de> To: "Matthew N. Dodd" <winter@jurai.net> Cc: doc@freebsd.org, hackers@freebsd.org Subject: Re: request for review: bus_alloc_resource(9) Message-ID: <20000519091409.D2729@cichlids.cichlids.com> In-Reply-To: <Pine.BSF.4.21.0005181732310.1136-100000@sasami.jurai.net>; from winter@jurai.net on Thu, May 18, 2000 at 05:42:43PM -0400 References: <20000518223846.A16098@cichlids.cichlids.com> <Pine.BSF.4.21.0005181732310.1136-100000@sasami.jurai.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Matthew N. Dodd (winter@jurai.net):
> Think of an 'rid' as in index into an array of like resources. A resource
> is just a range; start and length, and a type. The 'rid' has nothing to
> do with offsets into a memory/port resource.
Ah, yes. That is probably why
resource_list_alloc(rl, dev, child, type, rid, ...
is called for the pci-version of bus_alloc_resource :-)
(sys/pci/pci.c)
Alex
--
I need a new ~/.sig.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000519091409.D2729>
