diff options
-rw-r--r-- | arch/powerpc/platforms/powernv/pci-ioda.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c index 9e34f4614b64..edf39e099945 100644 --- a/arch/powerpc/platforms/powernv/pci-ioda.c +++ b/arch/powerpc/platforms/powernv/pci-ioda.c | |||
@@ -1241,10 +1241,20 @@ static void __devinit pnv_pci_ioda_setup_seg(void) | |||
1241 | } | 1241 | } |
1242 | } | 1242 | } |
1243 | 1243 | ||
1244 | static void __devinit pnv_pci_ioda_setup_DMA(void) | ||
1245 | { | ||
1246 | struct pci_controller *hose, *tmp; | ||
1247 | |||
1248 | list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { | ||
1249 | pnv_ioda_setup_dma(hose->private_data); | ||
1250 | } | ||
1251 | } | ||
1252 | |||
1244 | static void __devinit pnv_pci_ioda_fixup(void) | 1253 | static void __devinit pnv_pci_ioda_fixup(void) |
1245 | { | 1254 | { |
1246 | pnv_pci_ioda_setup_PEs(); | 1255 | pnv_pci_ioda_setup_PEs(); |
1247 | pnv_pci_ioda_setup_seg(); | 1256 | pnv_pci_ioda_setup_seg(); |
1257 | pnv_pci_ioda_setup_DMA(); | ||
1248 | } | 1258 | } |
1249 | 1259 | ||
1250 | /* | 1260 | /* |