Name
pci_find_slot -- locate PCI device from a given PCI slot
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
number of PCI slot in which desired PCI device resides
Description
Given a PCI bus and slot 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.