• Thierry Reding's avatar
    pci: Honour pci_skip_dev() · 4efe52bf
    Thierry Reding authored
    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: default avatarThierry Reding <treding@nvidia.com>
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    4efe52bf
cmd_pci.c 14.9 KB