Subject: Re: looking for devices on PCI bus [II]
To: matthew green <firstname.lastname@example.org>
From: Jason R Thorpe <email@example.com>
Date: 05/03/2001 16:28:32
On Fri, May 04, 2001 at 09:22:59AM +1000, matthew green wrote:
> the only question that i have is is it *right* to pass the PCI bus number?
> i seem to recall wanting to do this some time in the past and then
> convincing myself that it wasn't the right thing to do. but i can't think
> of anything now to support that. (also, don't the proposed function(s)
> _also_ require knowledge of the PCI bus number? they seem to have a "int
> busno" argument.)
You have to have a PCI "bus number" in order to build a tag to read
configuration space. It just so happens that the tag is already
created for you most of the time.
-- Jason R. Thorpe <firstname.lastname@example.org>