PCI_BUS_FIND_CAPABILITY

Section: (9)
Updated: 09 April 2004
Index Return to Main Contents

 

NAME

pci_bus_find_capability - query for devices' capabilities  

SYNOPSIS

int pci_bus_find_capability (struct pci_bus * bus, unsigned int devfn, int cap);  

ARGUMENTS

bus
the PCI bus to query
devfn
PCI device to query
cap
capability code
 

DESCRIPTION

Like 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.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 12:49:30 GMT, April 09, 2004