History

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.

Krzysztof Wilczyński committed 6 years ago

Commit 3910eba1 parent 5dda3ba4 files · +11 −9Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/pci-acpi.h+6−4
@@ -107,10 +107,12 @@ static inline void acpiphp_check_host_bridge(struct acpi_device *adev) { } · 106 unmodified lines
107107 #endif
108108
109109 extern const guid_t pci_acpi_dsm_guid;
110−#define IGNORE_PCI_BOOT_CONFIG_DSM 0x05
111−#define DEVICE_LABEL_DSM 0x07
112−#define RESET_DELAY_DSM 0x08
113−#define FUNCTION_DELAY_DSM 0x09
110+
111+/* _DSM Definitions for PCI */
112+#define DSM_PCI_PRESERVE_BOOT_CONFIG 0x05
113+#define DSM_PCI_DEVICE_NAME 0x07
114+#define DSM_PCI_POWER_ON_RESET_DELAY 0x08
115+#define DSM_PCI_DEVICE_READINESS_DURATIONS 0x09
114116
115117 #ifdef CONFIG_PCIE_EDR
116118 void pci_acpi_add_edr_notifier(struct pci_dev *pdev);