Previously we didn't check the type of device before trying to apply Type 1(PCI-X) or Type 2 (PCIe) Setting Records from _HPX.

We don't support PCI-X Setting Records, so this was harmless, but thewarning was useless.

We do support PCIe Setting Records, and we didn't check whether a devicewas PCIe before applying settings. I don't think anything bad happened onnon-PCIe devices because pcie_capability_clear_and_set_word(),pcie_cap_has_lnkctl(), etc., would fail before doing any harm. But it'sugly to depend on those internals.