Query: pci_bus_find_capability
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PCI_BUS_FIND_CAPABIL(9) Hardware Interfaces PCI_BUS_FIND_CAPABIL(9)NAMEpci_bus_find_capability - query for devices' capabilitiesSYNOPSISint pci_bus_find_capability(struct pci_bus * bus, unsigned int devfn, int cap);ARGUMENTSbus the PCI bus to query devfn PCI device to query cap capability codeDESCRIPTIONLike pci_find_capability but works for pci devices that do not have a pci_dev structure set up yet. Returns the address of the requested capability structure within the device's PCI configuration space or 0 in case the device does not support it.COPYRIGHTKernel Hackers Manual 2.6. July 2010 PCI_BUS_FIND_CAPABIL(9)