Make bar mask from the type of resource
int pci_select_bars(struct pci_dev * dev, unsigned long flags);
dev
the PCI device for which BAR mask is made
flags
resource type mask to be selected
This helper routine makes bar mask from the type of resource.