Re: [PATCH 2/3] pci: bcm43xx avoid pci_find_device

John W. Linville
2006-06-05T18:57:44Z

On Fri, May 26, 2006 at 01:29:12PM +0159, Jiri Slaby wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jeff Garzik napsal(a):
> > Jiri Slaby wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Jeff Garzik napsal(a):
> >>> The point is that you don't need to loop over the table,
> >>> pci_match_one_device() does that for you.
> >> The problem is, that there is no such function, I think.
> >> If you take a look at pci_dev_present:
> >
> > The function you want is pci_dev_present().
> Nope, it returns only 0/1.

Did we get a resolution on this? I don't think Jeff is going to pull
this patch from me until you satisfy him that it is correct... :-)

John
--
John W. Linville
linville@tuxdriver.com