]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pci: Honour pci_skip_dev()
authorThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 01:26:49 +0000 (18:26 -0700)
committerTom Rini <trini@ti.com>
Sun, 23 Nov 2014 11:49:01 +0000 (06:49 -0500)
commit4efe52bf23c96cee7052273bd8549caee4d0fdc2
tree0729647bcc94f7df595ca3071a36fd8ccc42baa2
parent042b83d4c502d17db40f1fa4f6d9b6cb86c653d2
pci: Honour pci_skip_dev()

When enumerating devices, honour the pci_skip_dev() function. This can
be used by PCI controller drivers to restrict which devices will be
probed.

This is required by the NVIDIA Tegra PCIe controller driver, which will
fail with a data abort exception if an access is attempted to a device
number larger than 0 outside of bus 0. pci_skip_dev() is therefore
implemented to prevent any such accesses.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_pci.c
drivers/pci/pci.c
include/pci.h