aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/iSeries_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/iSeries_pci.c')
-rw-r--r--arch/ppc64/kernel/iSeries_pci.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/ppc64/kernel/iSeries_pci.c b/arch/ppc64/kernel/iSeries_pci.c
index 0a28b6ca65d0..356e4fd9a94f 100644
--- a/arch/ppc64/kernel/iSeries_pci.c
+++ b/arch/ppc64/kernel/iSeries_pci.c
@@ -223,9 +223,7 @@ static struct iSeries_Device_Node *build_device_node(HvBusNumber Bus,
223 node->DsaAddr.Dsa.busNumber = Bus; 223 node->DsaAddr.Dsa.busNumber = Bus;
224 node->DsaAddr.Dsa.subBusNumber = SubBus; 224 node->DsaAddr.Dsa.subBusNumber = SubBus;
225 node->DsaAddr.Dsa.deviceId = 0x10; 225 node->DsaAddr.Dsa.deviceId = 0x10;
226 node->AgentId = AgentId;
227 node->DevFn = PCI_DEVFN(ISERIES_ENCODE_DEVICE(AgentId), Function); 226 node->DevFn = PCI_DEVFN(ISERIES_ENCODE_DEVICE(AgentId), Function);
228 iSeries_Get_Location_Code(node);
229 return node; 227 return node;
230} 228}
231 229
@@ -299,7 +297,6 @@ void __init iSeries_pci_final_fixup(void)
299{ 297{
300 struct pci_dev *pdev = NULL; 298 struct pci_dev *pdev = NULL;
301 struct iSeries_Device_Node *node; 299 struct iSeries_Device_Node *node;
302 char Buffer[256];
303 int DeviceCount = 0; 300 int DeviceCount = 0;
304 301
305 PPCDBG(PPCDBG_BUSWALK, "iSeries_pcibios_fixup Entry.\n"); 302 PPCDBG(PPCDBG_BUSWALK, "iSeries_pcibios_fixup Entry.\n");
@@ -321,9 +318,7 @@ void __init iSeries_pci_final_fixup(void)
321 "pdev 0x%p <==> DevNode 0x%p\n", 318 "pdev 0x%p <==> DevNode 0x%p\n",
322 pdev, node); 319 pdev, node);
323 allocate_device_bars(pdev); 320 allocate_device_bars(pdev);
324 iSeries_Device_Information(pdev, Buffer, 321 iSeries_Device_Information(pdev, DeviceCount);
325 sizeof(Buffer));
326 printk("%d. %s\n", DeviceCount, Buffer);
327 iommu_devnode_init_iSeries(node); 322 iommu_devnode_init_iSeries(node);
328 } else 323 } else
329 printk("PCI: Device Tree not found for 0x%016lX\n", 324 printk("PCI: Device Tree not found for 0x%016lX\n",