Skip to content

Commit

Permalink
[POWERPC] 4xx: PCIe: Increase max busses per port to 64
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Roese authored and Josh Boyer committed Jan 8, 2008
1 parent 2af59f7 commit 78994e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/sysdev/ppc4xx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 78994e2

Please sign in to comment.