]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ACPI: Rename _HPX structs from hpp_* to hpx_*
authorKrzysztof Wilczynski <kw@linux.com>
Tue, 27 Aug 2019 09:49:49 +0000 (11:49 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 28 Aug 2019 20:09:45 +0000 (15:09 -0500)
commit2dab152dda610c9ed40527f4a54a4d8bdad60c6f
tree2ae3f1de7637943cb8310eaf78091955ac027119
parent8ae2f793d21f67d4ab95029bb6873efffa36907b
PCI/ACPI: Rename _HPX structs from hpp_* to hpx_*

The names of the hpp_type0, hpp_type1 and hpp_type2 structs suggest that
they're related to _HPP, when in fact they're related to _HPX.

The struct hpp_type0 denotes an _HPX Type 0 setting record that supersedes
the _HPP setting record, and it has been used interchangeably for _HPP as
per the ACPI specification (see version 6.3, section 6.2.9.1) which states
that it should be applied to PCI, PCI-X and PCI Express devices, with
settings being ignored if they are not applicable.

Rename them to hpx_type0, hpx_type1 and hpx_type2 to reflect their relation
to _HPX rather than _HPP.

Link: https://lore.kernel.org/r/20190827094951.10613-2-kw@linux.com
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-acpi.c
drivers/pci/probe.c
include/linux/pci_hotplug.h