PCI_FIND_SLOT
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
pci_find_slot - locate PCI device from a given PCI slot
SYNOPSIS
"SYNOPSIS"
struct pci_dev * pci_find_slot (unsigned int bus, unsigned int devfn);
ARGUMENTS
- bus
-
number of PCI bus on which desired PCI device resides
- devfn
-
encodes number of PCI slot in which the desired PCI
device resides and the logical device number within that slot
in case of multi-function devices.
DESCRIPTION
Given a PCI bus and slot/function number, the desired PCI device
is located in system global list of PCI devices. If the device
is found, a pointer to its data structure is returned. If no
device is found, NULL is returned.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 13:31:44 GMT, October 06, 2005