[PATCH v6 4/5] PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro

From: Frank Li
Date: Mon Apr 15 2024 - 15:35:40 EST


Add PCIE_MSG_CODE_PME_TURN_OFF macros to enable a PCIe host driver to send
PME_Turn_Off messages.

Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
---
drivers/pci/pci.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 19b4227a8a7e8..1f6d54a5a7cfc 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -30,6 +30,8 @@
#define PCIE_MSG_TYPE_R_LOCAL 4
#define PCIE_MSG_TYPE_R_GATHER 5

+#define PCIE_MSG_CODE_PME_TURN_OFF 0x19
+
/* INTx Mechanism Messages See: PCIe r6.0, sec 2.2.8.1 */
#define PCIE_MSG_CODE_ASSERT_INTA 0x20
#define PCIE_MSG_CODE_ASSERT_INTB 0x21

--
2.34.1