History

PCI/DPC: Add and use DPC Status register field definitions

Add definitions for DPC Status register fields and use them in the code. No functional change intended.

Bjorn Helgaas committed 8 years ago

Commit 01060e31 parent 716f0f72 files · +4 −2Browse files

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

Unified · Split

include/uapi/linux/pci_regs.h+2−0
@@ -979,8 +979,10 @@ · 978 unmodified lines
979 979
980#define PCI_EXP_DPC_STATUS 8 /* DPC Status */980#define PCI_EXP_DPC_STATUS 8 /* DPC Status */
981#define PCI_EXP_DPC_STATUS_TRIGGER 0x01 /* Trigger Status */981#define PCI_EXP_DPC_STATUS_TRIGGER 0x01 /* Trigger Status */
982#define PCI_EXP_DPC_STATUS_TRIGGER_RSN 0x06 /* Trigger Reason */
982#define PCI_EXP_DPC_STATUS_INTERRUPT 0x08 /* Interrupt Status */983#define PCI_EXP_DPC_STATUS_INTERRUPT 0x08 /* Interrupt Status */
983#define PCI_EXP_DPC_RP_BUSY 0x10 /* Root Port Busy */984#define PCI_EXP_DPC_RP_BUSY 0x10 /* Root Port Busy */
985#define PCI_EXP_DPC_STATUS_TRIGGER_RSN_EXT 0x60 /* Trig Reason Extension */
984 986
985#define PCI_EXP_DPC_SOURCE_ID 10 /* DPC Source Identifier */987#define PCI_EXP_DPC_SOURCE_ID 10 /* DPC Source Identifier */
986 988