> On Thu, 18 May 2000, Alexander Langer wrote:
> > I've written bus_alloc_resource(9).
> >
> > I need one with _experience_ on newbus to review it.
> >
> > http://big.endian.de/FreeBSD/bus_alloc_resource.9
>
> You still don't understand what the 'rid' parameter is.
>
> 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.
More to the point, the rid is a bus-specific uniqifier - it's not
necessarily even a linear index (consider eg. PCI).
--
\\ Give a man a fish, and you feed him for a day. \\ Mike Smith
\\ Tell him he should learn how to fish himself, \\ [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime. \\ [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message