Просмотр исходного кода

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

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Kumar Gala 14 лет назад
Родитель
Сommit
6d251ddff8
1 измененных файлов с 5 добавлено и 0 удалено
  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/machdep.h>
 #include <asm/pci-bridge.h>
+#include <asm/ppc-pci.h>
 #include <mm/mmu_decl.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
@@ -90,6 +91,10 @@ void __init corenet_ds_setup_arch(void)
 					hose->dma_window_size);
 		}
 	}
+
+#ifdef CONFIG_PPC64
+	pci_devs_phb_init();
+#endif
 #endif
 
 #ifdef CONFIG_SWIOTLB