Skip to content

Commit 9972b17

Browse files
nxpfranklibjorn-helgaas
authored andcommitted
PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro
Add PCIE_MSG_CODE_PME_TURN_OFF macros to enable a PCIe host driver to send PME_Turn_Off messages. Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Frank Li <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]>
1 parent 95cb8ff commit 9972b17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/pci/pci.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
#define PCIE_MSG_TYPE_R_LOCAL 4
3131
#define PCIE_MSG_TYPE_R_GATHER 5
3232

33+
/* Power Management Messages; PCIe r6.0, sec 2.2.8.2 */
34+
#define PCIE_MSG_CODE_PME_TURN_OFF 0x19
35+
3336
/* INTx Mechanism Messages; PCIe r6.0, sec 2.2.8.1 */
3437
#define PCIE_MSG_CODE_ASSERT_INTA 0x20
3538
#define PCIE_MSG_CODE_ASSERT_INTB 0x21

0 commit comments

Comments
 (0)