|
@@ -286,11 +286,12 @@ int cpci_configure_slot(struct slot *slot)
|
|
}
|
|
}
|
|
parent = slot->dev->bus;
|
|
parent = slot->dev->bus;
|
|
|
|
|
|
- list_for_each_entry(dev, &parent->devices, bus_list)
|
|
|
|
|
|
+ list_for_each_entry(dev, &parent->devices, bus_list) {
|
|
if (PCI_SLOT(dev->devfn) != PCI_SLOT(slot->devfn))
|
|
if (PCI_SLOT(dev->devfn) != PCI_SLOT(slot->devfn))
|
|
continue;
|
|
continue;
|
|
if (pci_is_bridge(dev))
|
|
if (pci_is_bridge(dev))
|
|
pci_hp_add_bridge(dev);
|
|
pci_hp_add_bridge(dev);
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
pci_assign_unassigned_bridge_resources(parent->self);
|
|
pci_assign_unassigned_bridge_resources(parent->self);
|