diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-08-28 14:18:37 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-12 22:09:49 -0400 |
commit | b40716630375ec1bf9fe0c3534da4329663c5459 (patch) | |
tree | 28ead408ceb84c17410c6838e666714d8ae131ac /drivers/pci/hotplug | |
parent | 77094fb342eda5fbfa5ef77dea8a423fa2b9d10b (diff) |
PCI: shpchp: Remove pci_configure_slot() usage
We now configure each PCI device as it is enumerated, in pci_device_add(),
so remove the configuration done in shpchp.
That configuration, in pci_configure_device(), does not include the
MPS/MRRS configuration done by pcie_bus_configure_settings(), so keep
that here.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r-- | drivers/pci/hotplug/shpchp_pci.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/pci/hotplug/shpchp_pci.c b/drivers/pci/hotplug/shpchp_pci.c index 469454e0cc48..f8cd3a27e351 100644 --- a/drivers/pci/hotplug/shpchp_pci.c +++ b/drivers/pci/hotplug/shpchp_pci.c | |||
@@ -69,13 +69,7 @@ int shpchp_configure_device(struct slot *p_slot) | |||
69 | } | 69 | } |
70 | 70 | ||
71 | pci_assign_unassigned_bridge_resources(bridge); | 71 | pci_assign_unassigned_bridge_resources(bridge); |
72 | 72 | pcie_bus_configure_settings(parent); | |
73 | list_for_each_entry(dev, &parent->devices, bus_list) { | ||
74 | if (PCI_SLOT(dev->devfn) != p_slot->device) | ||
75 | continue; | ||
76 | pci_configure_slot(dev); | ||
77 | } | ||
78 | |||
79 | pci_bus_add_devices(parent); | 73 | pci_bus_add_devices(parent); |
80 | 74 | ||
81 | out: | 75 | out: |