diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-09 11:31:25 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-10 12:47:18 +0000 |
commit | 8712aa107f4a4a0f64684e00c03eb2ec0d8baf6b (patch) | |
tree | 8960bb511bcefe4031560e9eeba1b8c78d285439 /Documentation/superio | |
parent | 82a4e27341bf292925d25779985a38f70a9858aa (diff) |
device/pci_device: Do not break tree topology
Fix regression introduced with commit
ad7674e device: Introduce pcidev_on_root() and friends
Function pci_scan_bus() breaks bus->children link
in the devicetree topology while scanning a bus.
While the scan is in progress, accessing PCI
devices with number higher than what is being probed
was not possible because new pcidev_on_root() relies
on having proper topology present at any time.
Change-Id: I7bb497f7390628dd2f0310b380f199783a888c4c
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30772
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
Diffstat (limited to 'Documentation/superio')
0 files changed, 0 insertions, 0 deletions