]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/pci_64.c
powerpc: Fix domain numbers in /proc on 64-bit
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / pci_64.c
index 3502b9101e6baa7e924806ef6bb284a1aca604c5..b771e3a20132969dbbdfc4d59f8fcbc1fd3ca3bf 100644 (file)
@@ -388,6 +388,11 @@ static int __init pcibios_init(void)
        if (pci_probe_only)
                ppc_pci_flags |= PPC_PCI_PROBE_ONLY;
 
+       /* On ppc64, we always enable PCI domains and we keep domain 0
+        * backward compatible in /proc for video cards
+        */
+       ppc_pci_flags |= PPC_PCI_ENABLE_PROC_DOMAINS | PPC_PCI_COMPAT_DOMAIN_0;
+
        /* Scan all of the recorded PCI controllers.  */
        list_for_each_entry_safe(hose, tmp, &hose_list, list_node) {
                scan_phb(hose);