pci_find_resource9
Return matching pci device resource
Usage
struct resource * pci_find_resource(struct pci_dev * dev, struct resource * res);
Arguments
dev
PCI device to query
res
Resource to look for
Overview
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.