summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-08-20 16:08:27 -0500
committerBjorn Helgaas <bhelgaas@google.com>2015-08-20 16:08:27 -0500
commit9dae3a97297f71e884ed8e7664955bcacb86f010 (patch)
tree457e77855b557bf729d86d8bd53da6f4da8176a3 /drivers/pci/pci.c
parent3a10766d0624c72b978790dba864cf7d6160f89f (diff)
downloadlinux-9dae3a97297f71e884ed8e7664955bcacb86f010.tar.bz2
PCI: Move MPS configuration check to pci_configure_device()
Previously we checked for invalid MPS settings, i.e., a device with MPS different than its upstream bridge, in pcie_bus_detect_mps(). We only did this if the arch or hotplug driver called pcie_bus_configure_settings(), and then only if PCIe bus tuning was disabled (PCIE_BUS_TUNE_OFF). Move the MPS checking code to pci_configure_device(), so we do it in the pci_device_add() path for every device. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions