coreboot-kgpe-d16/src/device
Kyösti Mälkki 8712aa107f 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>
2019-01-10 12:47:18 +00:00
..
dram device/ddr3: Prevent overflow when adding SMBUS Table 17 entries 2018-09-14 20:16:45 +00:00
oprom cpu/amd/geode_lx: Drop support 2018-12-21 18:09:11 +00:00
azalia_device.c src: Use "foo **bar" instead of "foo ** bar" 2019-01-07 10:29:14 +00:00
cardbus_device.c src/device: Fix typo 2018-08-09 15:57:35 +00:00
cpu_device.c src/device: Get rid of device_t 2018-05-22 07:24:23 +00:00
device.c src: Remove unneeded whitespace 2018-10-23 15:52:09 +00:00
device_const.c amdfam10 boards: Fix regression on dev_find_slot() removal 2019-01-08 02:51:47 +00:00
device_util.c src: Add required space after "switch" 2018-11-19 08:17:06 +00:00
hypertransport.c src: Remove unneeded include <lib.h> 2018-11-16 09:50:51 +00:00
i2c.c Reinvent I2C ops 2017-08-18 15:33:45 +00:00
i2c_bus.c device/i2c_bus: allow i2c_bus and i2c_simple to coexist 2018-01-24 05:02:50 +00:00
Kconfig cpu/amd/geode_lx: Drop support 2018-12-21 18:09:11 +00:00
Makefile.inc device/pci_early: Fixes for __SIMPLE_DEVICE__ 2018-12-30 21:33:26 +00:00
pci_class.c src: Move constant to the right side of comparison 2019-01-07 10:28:59 +00:00
pci_device.c device/pci_device: Do not break tree topology 2019-01-10 12:47:18 +00:00
pci_early.c device/pci_early: Fixes for __SIMPLE_DEVICE__ 2018-12-30 21:33:26 +00:00
pci_ops.c {device,drivers}: Remove useless include <device/pci_ids.h> 2018-12-19 05:22:44 +00:00
pci_ops_mmconf.c {device,drivers}: Remove useless include <device/pci_ids.h> 2018-12-19 05:22:44 +00:00
pci_rom.c src: Move constant to the right side of comparison 2019-01-07 10:28:59 +00:00
pciexp_device.c src: Remove unneeded whitespace 2018-10-23 15:52:09 +00:00
pcix_device.c {device,drivers}: Remove useless include <device/pci_ids.h> 2018-12-19 05:22:44 +00:00
pnp_device.c pnp_device: don't treat missing PNP_MSC devicetree entry as error 2018-07-29 15:06:41 +00:00
root_device.c reset: Provide new single-function reset API 2018-10-22 08:34:00 +00:00
smbus_ops.c device/smbus_ops.c: Get rid of device_t 2018-05-04 10:17:08 +00:00
software_i2c.c software_i2c: Improve error behavior 2018-05-02 00:23:30 +00:00