zephyr/drivers/pci
Daniel Leung c3bbfeb7fb pci: properly scan all device resources
The change in commit e5349d74ab
results in only one resource being returned for a device with
pci_bus_scan(). The root cause for that issue was actually
because of wrapping around when scanning through BARs, where
BARs were scanned 0->1->2->..->6->0->1->.. in an endless loop
for a single bus:dev.function. So revert that commit and put
in a fix by moving on to the next function after going
through all the BARs.

Fixes #1550

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2019-03-11 16:40:39 -07:00
..
CMakeLists.txt
Kconfig
pci.c pci: properly scan all device resources 2019-03-11 16:40:39 -07:00
pci_config.c
pci_interface.c
pci_legacy_bridge.c
pci_shell.c