lkml.org 
[lkml]   [1999]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectfinding PCI Card/Subsystem
Hi,

with lspci i find this card ...

00:08.0 Communication controller: PLX Technology, Inc.: Unknown device 906d (rev 02)
Subsystem: Unknown device 125c:0640

It is a PLX 9060SD Based Multiport PCI Card. Currently i search for
PLX Tech with device id = 906d - But this matches only the generic
PCI Chip. How do i check against the Subsytem ID to be shure
i have the correct card ?


if (!(pcibios_find_device(PCI_VENDOR_ID_PLXTECH,
PCI_DEVICE_ID_9060SD,
pci_index, &pci_bus,
&pci_device_fn))) {
pdev = pci_find_slot(pci_bus, pci_device_fn);

/*
* And what to do now to match on the SubsysID ?
*/
}
Flo
--
Florian Lohoff flo@rfc822.org +49-5241-470566
Good, Fast, Cheap: Pick any two (you can't have all three). (RFC 1925)

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

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2011 Jasper Spaans