Przeglądaj źródła

[POWERPC] 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.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Stefan Roese 17 lat temu
rodzic
commit
78994e240f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      arch/powerpc/sysdev/ppc4xx_pci.c

+ 1 - 1
arch/powerpc/sysdev/ppc4xx_pci.c

@@ -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
 {