[PATCH] PCI: Increase the number of PCI bus resources

This patch increases the number of resource pointers in the
pci_bus structure. This is needed to store >4 resource ranges
for host bridges and transparent PCI bridges. With this change,
all PCI buses will have more resource pointers, but most PCI
buses will only use the first 3 or 4, the remaining being NULL.
The PCI core already deals with this correctly.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by rajesh.shah@intel.com and committed by Greg Kroah-Hartman a03fa955 26f674ae

+1 -1
+1 -1
include/linux/pci.h
··· 586 586 #define PCI_NUM_RESOURCES 11 587 587 588 588 #ifndef PCI_BUS_NUM_RESOURCES 589 - #define PCI_BUS_NUM_RESOURCES 4 589 + #define PCI_BUS_NUM_RESOURCES 8 590 590 #endif 591 591 592 592 #define PCI_REGION_FLAG_MASK 0x0fU /* These bits of resource flags tell us the PCI region flags */