From: Stefan Roese Date: Mon, 31 Dec 2007 05:41:15 +0000 (+1100) Subject: [POWERPC] 4xx: PCIe: Increase max busses per port to 64 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=78994e240fce03832ceebc875c43773a2c615e79;p=linux-beck.git [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 Signed-off-by: Josh Boyer --- diff --git a/arch/powerpc/sysdev/ppc4xx_pci.c b/arch/powerpc/sysdev/ppc4xx_pci.c index 3c2c14c32e76..5abfcd157483 100644 --- a/arch/powerpc/sysdev/ppc4xx_pci.c +++ b/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 {