mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
PCI: pciehp: 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 pciehp. 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>
This commit is contained in:
parent
6cd33649fa
commit
77094fb342
1 changed files with 1 additions and 4 deletions
|
@ -65,10 +65,7 @@ int pciehp_configure_device(struct slot *p_slot)
|
||||||
pci_hp_add_bridge(dev);
|
pci_hp_add_bridge(dev);
|
||||||
|
|
||||||
pci_assign_unassigned_bridge_resources(bridge);
|
pci_assign_unassigned_bridge_resources(bridge);
|
||||||
|
pcie_bus_configure_settings(parent);
|
||||||
list_for_each_entry(dev, &parent->devices, bus_list)
|
|
||||||
pci_configure_slot(dev);
|
|
||||||
|
|
||||||
pci_bus_add_devices(parent);
|
pci_bus_add_devices(parent);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
|
Loading…
Reference in a new issue