diff options
Diffstat (limited to 'arch/powerpc/platforms/iseries/pci.c')
-rw-r--r-- | arch/powerpc/platforms/iseries/pci.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/iseries/pci.c b/arch/powerpc/platforms/iseries/pci.c index f79c5982446b..fe34d1175818 100644 --- a/arch/powerpc/platforms/iseries/pci.c +++ b/arch/powerpc/platforms/iseries/pci.c | |||
@@ -34,15 +34,16 @@ | |||
34 | #include <asm/pci-bridge.h> | 34 | #include <asm/pci-bridge.h> |
35 | #include <asm/ppcdebug.h> | 35 | #include <asm/ppcdebug.h> |
36 | #include <asm/iommu.h> | 36 | #include <asm/iommu.h> |
37 | #include <asm/abs_addr.h> | ||
37 | 38 | ||
38 | #include <asm/iSeries/HvCallPci.h> | 39 | #include <asm/iSeries/HvCallPci.h> |
39 | #include <asm/iSeries/HvCallXm.h> | 40 | #include <asm/iSeries/HvCallXm.h> |
40 | #include <asm/iSeries/iSeries_pci.h> | ||
41 | #include <asm/iSeries/mf.h> | 41 | #include <asm/iSeries/mf.h> |
42 | 42 | ||
43 | #include <asm/ppc-pci.h> | 43 | #include <asm/ppc-pci.h> |
44 | 44 | ||
45 | #include "irq.h" | 45 | #include "irq.h" |
46 | #include "pci.h" | ||
46 | 47 | ||
47 | extern unsigned long io_page_mask; | 48 | extern unsigned long io_page_mask; |
48 | 49 | ||
@@ -368,7 +369,7 @@ static void scan_PHB_slots(struct pci_controller *Phb) | |||
368 | */ | 369 | */ |
369 | for (IdSel = 1; IdSel < MaxAgents; ++IdSel) { | 370 | for (IdSel = 1; IdSel < MaxAgents; ++IdSel) { |
370 | HvRc = HvCallPci_getDeviceInfo(bus, SubBus, IdSel, | 371 | HvRc = HvCallPci_getDeviceInfo(bus, SubBus, IdSel, |
371 | ISERIES_HV_ADDR(DevInfo), | 372 | iseries_hv_addr(DevInfo), |
372 | sizeof(struct HvCallPci_DeviceInfo)); | 373 | sizeof(struct HvCallPci_DeviceInfo)); |
373 | if (HvRc == 0) { | 374 | if (HvRc == 0) { |
374 | if (DevInfo->deviceType == HvCallPci_NodeDevice) | 375 | if (DevInfo->deviceType == HvCallPci_NodeDevice) |
@@ -409,7 +410,7 @@ static void scan_EADS_bridge(HvBusNumber bus, HvSubBusNumber SubBus, | |||
409 | "PCI:Connect EADs: 0x%02X.%02X.%02X\n", | 410 | "PCI:Connect EADs: 0x%02X.%02X.%02X\n", |
410 | bus, SubBus, AgentId); | 411 | bus, SubBus, AgentId); |
411 | HvRc = HvCallPci_getBusUnitInfo(bus, SubBus, AgentId, | 412 | HvRc = HvCallPci_getBusUnitInfo(bus, SubBus, AgentId, |
412 | ISERIES_HV_ADDR(BridgeInfo), | 413 | iseries_hv_addr(BridgeInfo), |
413 | sizeof(struct HvCallPci_BridgeInfo)); | 414 | sizeof(struct HvCallPci_BridgeInfo)); |
414 | if (HvRc == 0) { | 415 | if (HvRc == 0) { |
415 | printk("bridge info: type %x subbus %x maxAgents %x maxsubbus %x logslot %x\n", | 416 | printk("bridge info: type %x subbus %x maxAgents %x maxsubbus %x logslot %x\n", |