Name
pci_find_resource —
Return matching PCI device resource
Synopsis
struct resource * pci_find_resource ( | struct pci_dev * dev, |
| struct resource * res) ; |
Arguments
struct pci_dev * dev
PCI device to query
struct resource * res
Resource to look for
Description
Goes over standard PCI resources (BARs) and checks if the given resource
is partially or fully contained in any of them. In that case the
matching resource is returned, NULL
otherwise.