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

From: Jiri Slaby <[email-masked]>
Date: Fri, 26 May 2006 12:53:36 +0159

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:
http://sosdg.org/~coywolf/lxr/source/drivers/pci/search.c#L270
They traverse the table in similar way as I do.

pci_match_one_device() just checks (one to one) values without any looping.

regards,
- --
Jiri Slaby         www.fi.muni.cz/~xslaby
\_.-^-._   [email-masked]   _.-^-._/
B67499670407CE62ACC8 22A032CC55C339D47A7E