PCI/portdrv: Rename and reverse sense of pcie_ports_auto
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 9 Mar 2018 17:21:30 +0000 (11:21 -0600)
committerBjorn Helgaas <helgaas@kernel.org>
Fri, 30 Mar 2018 22:26:58 +0000 (17:26 -0500)
commitd850882b726f6db01b0792151e72e69b234aa461
tree98f978f5570c10d7c9e23106428e291181876679
parent842b447f0074b93e9f7db60039fdc72ec14bef9a
PCI/portdrv: Rename and reverse sense of pcie_ports_auto

The platform may restrict the OS's use of PCIe services, e.g., via the ACPI
_OSC method.  The user may use "pcie_ports=native" to force the port driver
to use PCIe services even if the platform asked us not to.

The "pcie_ports=native" parameter determines the setting of
pcie_ports_auto.  Rename this to pcie_ports_native and reverse the
sense to simplify the code.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/portdrv.h
drivers/pci/pcie/portdrv_core.c
drivers/pci/pcie/portdrv_pci.c