OSDN Git Service

PCI: Apply _HPP settings to PCIe devices as well as PCI and PCI-X
[uclinux-h8/linux.git] / drivers / pci / probe.c
index 4b3b29b..003d112 100644 (file)
@@ -1249,15 +1249,8 @@ static void program_hpp_type0(struct pci_dev *dev, struct hpp_type0 *hpp)
 {
        u16 pci_cmd, pci_bctl;
 
-       if (!hpp) {
-               /*
-                * Perhaps we *should* use default settings for PCIe, but
-                * pciehp didn't, so we won't either.
-                */
-               if (pci_is_pcie(dev))
-                       return;
+       if (!hpp)
                hpp = &pci_default_type0;
-       }
 
        if (hpp->revision > 1) {
                dev_warn(&dev->dev,