Skip to contentSkip to conversation

4xx: PCIe: Increase max busses per port to 64

PATCH New Stefan Roese 1 participant 1 message Dec 31, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 4xx: PCIe: Increase max busses per port to 64

Because of how big mapping the config space is (1M per bus), we limit how many busses we support for now. In the long run, we could replace that with something akin to kmap_atomic instead.

This patch changes the limit from currently 16 to 64.

---
 arch/powerpc/sysdev/ppc4xx_pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/sysdev/ppc4xx_pci.c +1 -1
index 3c2c14c..5abfcd1 100644
@@ -533,7 +533,7 @@ static void __init ppc4xx_probe_pcix_bridge(struct device_node *np)
  *
  */
 
-#define MAX_PCIE_BUS_MAPPED	0x10
+#define MAX_PCIE_BUS_MAPPED	0x40
 
 struct ppc4xx_pciex_port
 {
Signature · 1 line
1.5.4.rc2