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 shell: add PCI shell 2018-11-05 09:32:38 -05:00
Kconfig kconfig: Remove dead references to CONFIG_PCI_DEBUG 2019-03-07 13:04:29 -06:00
pci.c pci: properly scan all device resources 2019-03-11 16:40:39 -07:00
pci_config.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
pci_interface.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
pci_legacy_bridge.c drivers: Remove board.h include 2018-11-01 13:21:11 -04:00
pci_shell.c pci: Fix presentation of PCI devices 2018-12-07 11:32:45 -05:00