PCI/portdrv: Remove unnecessary "pcie_ports=auto" parameter

The "pcie_ports=auto" parameter set pcie_ports_disabled and pcie_ports_auto
to their compiled-in defaults, so specifying the parameter is the same as
not using it at all.

Remove the "pcie_ports=auto" parameter and update the documentation.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
Bjorn Helgaas 2018-03-09 11:21:28 -06:00 committed by Bjorn Helgaas
parent 1e447c57ae
commit 4c0fd7648d
2 changed files with 7 additions and 11 deletions

View file

@ -3130,14 +3130,13 @@
force Enable ASPM even on devices that claim not to support it. force Enable ASPM even on devices that claim not to support it.
WARNING: Forcing ASPM on may cause system lockups. WARNING: Forcing ASPM on may cause system lockups.
pcie_ports= [PCIE] PCIe ports handling: pcie_ports= [PCIE] PCIe port services handling:
auto Ask the BIOS whether or not to use native PCIe services native Use native PCIe services (PME, AER, DPC, PCIe hotplug)
associated with PCIe ports (PME, hot-plug, AER). Use even if the platform doesn't give the OS permission to
them only if that is allowed by the BIOS. use them. This may cause conflicts if the platform
native Use native PCIe services associated with PCIe ports also tries to use these services.
unconditionally. compat Disable native PCIe services (PME, AER, DPC, PCIe
compat Treat PCIe ports as PCI-to-PCI bridges, disable the PCIe hotplug).
ports driver.
pcie_port_pm= [PCIE] PCIe port power management handling: pcie_port_pm= [PCIE] PCIe port power management handling:
off Disable power management of all PCIe ports off Disable power management of all PCIe ports

View file

@ -37,9 +37,6 @@ static int __init pcie_port_setup(char *str)
} else if (!strncmp(str, "native", 6)) { } else if (!strncmp(str, "native", 6)) {
pcie_ports_disabled = false; pcie_ports_disabled = false;
pcie_ports_auto = false; pcie_ports_auto = false;
} else if (!strncmp(str, "auto", 4)) {
pcie_ports_disabled = false;
pcie_ports_auto = true;
} }
return 1; return 1;