PCI: Apply _HPP settings to all hot-added PCI devices
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 30 Aug 2014 13:22:13 +0000 (07:22 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 13 Sep 2014 02:11:24 +0000 (20:11 -0600)
commitca0647e08acd327d508c0fa4553c2148dc7e08b4
tree01ccf18799f1d0ac6b5662c9f76fd540ed382804
parenteab3a0ee342106a1c82e10682c02632e9d6af0df
PCI: Apply _HPP settings to all hot-added PCI devices

We currently apply _HPP settings only to:

    - non-bridge devices, and
    - PCI-to-PCI bridges

i.e., we do not apply them to PCI-to-ISA bridges and the like.  It has been
that way since _HPP support was added by 40abb96c51bb ("pciehp: Fix
programming hotplug parameters"), but I don't think there's any reason to
exclude these other bridges.

Apply _HPP settings to hot-added PCI devices of any type.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
drivers/pci/probe.c