Linux-kernel mailing list archive 1999-22,: finding PCI Card/Subsystem

# finding PCI Card/Subsystem

Florian Lohoff (flo@rfc822.org)
Fri, 4 Jun 1999 00:19:45 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Linus Torvalds: "Re: 2.3 wish: integrate pcmcia into mainstream kernel"
- Previous message: Horst von Brand: "Re: Bugs in linux-2.3.4"

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/

- Next message: Linus Torvalds: "Re: 2.3 wish: integrate pcmcia into mainstream kernel"
- Previous message: Horst von Brand: "Re: Bugs in linux-2.3.4"