lkml.org 
[lkml]   [2006]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: searching for pci busses
Greg KH wrote:
> On Sun, May 28, 2006 at 01:12:26AM +0159, Jiri Slaby wrote:
>> Hello,
>>
>> I want to ask, if there is any function to call (as we debated with Jeff), which
>> does something like this:
>> 1) I have some vendor/device ids in table
>> 2) I want to traverse raws of the table and compare to system devices, and if
>> found, stop and return pci_dev struct (or raw in the table).
>
> What's wrong with pci_match_id()?
>
> Or just using the pci_register_driver() function properly, which handles
> all of this logic for you?

These aren't PCI devices proper. These are embedded non-PCI devices,
which must search for an unrelated PCI device to figure out what type of
platform they are on.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-30 00:02    [W:0.433 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site