aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/pci-acpi.h
diff options
context:
space:
mode:
authorKrzysztof Wilczyński <kw@linux.com>2020-05-26 21:39:05 +0000
committerBjorn Helgaas <bhelgaas@google.com>2020-05-27 16:48:21 -0500
commit3910ebaca8eae0cb9d41a20efe1bcb375ec64dfb (patch)
tree5411b6563b150e5d186549efd40d1960c935e3bf /include/linux/pci-acpi.h
parentPCI/PME: Fix kernel-doc of pcie_pme_resume() and pcie_pme_remove() (diff)
downloadwireguard-linux-3910ebaca8eae0cb9d41a20efe1bcb375ec64dfb.tar.xz
wireguard-linux-3910ebaca8eae0cb9d41a20efe1bcb375ec64dfb.zip
PCI: Rename _DSM constants to align with spec
Rename PCI-related _DSM constants to align them with the PCI Firmware Spec, r3.2, sec 4.6. No functional change intended. Link: https://lore.kernel.org/r/20200526213905.2479381-1-kw@linux.com Signed-off-by: Krzysztof Wilczyński <kw@linux.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci-acpi.h')
-rw-r--r--include/linux/pci-acpi.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/pci-acpi.h b/include/linux/pci-acpi.h
index 2d155bfb8fbf..a3bb8e768778 100644
--- a/include/linux/pci-acpi.h
+++ b/include/linux/pci-acpi.h
@@ -107,10 +107,12 @@ static inline void acpiphp_check_host_bridge(struct acpi_device *adev) { }
#endif
extern const guid_t pci_acpi_dsm_guid;
-#define IGNORE_PCI_BOOT_CONFIG_DSM 0x05
-#define DEVICE_LABEL_DSM 0x07
-#define RESET_DELAY_DSM 0x08
-#define FUNCTION_DELAY_DSM 0x09
+
+/* _DSM Definitions for PCI */
+#define DSM_PCI_PRESERVE_BOOT_CONFIG 0x05
+#define DSM_PCI_DEVICE_NAME 0x07
+#define DSM_PCI_POWER_ON_RESET_DELAY 0x08
+#define DSM_PCI_DEVICE_READINESS_DURATIONS 0x09
#ifdef CONFIG_PCIE_EDR
void pci_acpi_add_edr_notifier(struct pci_dev *pdev);