table of contents
other versions
- wheezy 3.2.78-1
PCI_FIND_CAPABILITY(9) | Hardware Interfaces | PCI_FIND_CAPABILITY(9) |
NAME¶
pci_find_capability - query for devices' capabilitiesSYNOPSIS¶
int
pci_find_capability(struct pci_dev * dev,
int cap);
ARGUMENTS¶
devPCI device to query
cap
capability code
DESCRIPTION¶
Tell if a device supports a given PCI capability. 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. Possible values for cap:COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |