]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/4xx: Enable PCI domains on 4xx
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 1 Feb 2009 16:59:13 +0000 (16:59 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sat, 14 Feb 2009 19:40:11 +0000 (14:40 -0500)
4xx chips commonly now have multiple PHBs, there is no reason to not
enable PCI domains on them. The main issue with PCI domains is X but
currently its already somewhat busted for other reasons such as the
36-bit physical address space, which I'm fixing separately.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/sysdev/ppc4xx_pci.c

index 77fae5f64f2e0741ff6900135f9337cfac6093b0..ef0fafcbfbcb9364d2d3de442152fac8a878ef4c 100644 (file)
@@ -1822,6 +1822,8 @@ static int __init ppc4xx_pci_find_bridges(void)
 {
        struct device_node *np;
 
+       ppc_pci_flags |= PPC_PCI_ENABLE_PROC_DOMAINS | PPC_PCI_COMPAT_DOMAIN_0;
+
 #ifdef CONFIG_PPC4xx_PCI_EXPRESS
        for_each_compatible_node(np, NULL, "ibm,plb-pciex")
                ppc4xx_probe_pciex_bridge(np);