Browse Source

powerpc/85xx: Add PCI support in 64-bit mode on P5020DS

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala 14 years ago
parent
commit
6d251ddff8
1 changed files with 5 additions and 0 deletions
  1. 5 0
      arch/powerpc/platforms/85xx/corenet_ds.c

+ 5 - 0
arch/powerpc/platforms/85xx/corenet_ds.c

@@ -22,6 +22,7 @@
 #include <asm/time.h>
 #include <asm/time.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
 #include <asm/pci-bridge.h>
 #include <asm/pci-bridge.h>
+#include <asm/ppc-pci.h>
 #include <mm/mmu_decl.h>
 #include <mm/mmu_decl.h>
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
 #include <asm/udbg.h>
@@ -90,6 +91,10 @@ void __init corenet_ds_setup_arch(void)
 					hose->dma_window_size);
 					hose->dma_window_size);
 		}
 		}
 	}
 	}
+
+#ifdef CONFIG_PPC64
+	pci_devs_phb_init();
+#endif
 #endif
 #endif
 
 
 #ifdef CONFIG_SWIOTLB
 #ifdef CONFIG_SWIOTLB