diff options
Diffstat (limited to 'drivers/pci/pcie/aer/aerdrv.h')
-rw-r--r-- | drivers/pci/pcie/aer/aerdrv.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv.h b/drivers/pci/pcie/aer/aerdrv.h index c44d9e12d06e..78c977cec479 100644 --- a/drivers/pci/pcie/aer/aerdrv.h +++ b/drivers/pci/pcie/aer/aerdrv.h | |||
@@ -40,10 +40,6 @@ | |||
40 | PCI_ERR_UNC_UNX_COMP| \ | 40 | PCI_ERR_UNC_UNX_COMP| \ |
41 | PCI_ERR_UNC_MALF_TLP) | 41 | PCI_ERR_UNC_MALF_TLP) |
42 | 42 | ||
43 | /* AER Error Info Flags */ | ||
44 | #define AER_TLP_HEADER_VALID_FLAG 0x00000001 | ||
45 | #define AER_MULTI_ERROR_VALID_FLAG 0x00000002 | ||
46 | |||
47 | struct header_log_regs { | 43 | struct header_log_regs { |
48 | unsigned int dw0; | 44 | unsigned int dw0; |
49 | unsigned int dw1; | 45 | unsigned int dw1; |
@@ -55,10 +51,17 @@ struct header_log_regs { | |||
55 | struct aer_err_info { | 51 | struct aer_err_info { |
56 | struct pci_dev *dev[AER_MAX_MULTI_ERR_DEVICES]; | 52 | struct pci_dev *dev[AER_MAX_MULTI_ERR_DEVICES]; |
57 | int error_dev_num; | 53 | int error_dev_num; |
58 | u16 id; | 54 | |
59 | int severity; /* 0:NONFATAL | 1:FATAL | 2:COR */ | 55 | unsigned int id:16; |
60 | int flags; | 56 | |
61 | int first; | 57 | unsigned int severity:2; /* 0:NONFATAL | 1:FATAL | 2:COR */ |
58 | unsigned int __pad1:5; | ||
59 | unsigned int multi_error_valid:1; | ||
60 | |||
61 | unsigned int first_error:5; | ||
62 | unsigned int __pad2:2; | ||
63 | unsigned int tlp_header_valid:1; | ||
64 | |||
62 | unsigned int status; /* COR/UNCOR Error Status */ | 65 | unsigned int status; /* COR/UNCOR Error Status */ |
63 | unsigned int mask; /* COR/UNCOR Error Mask */ | 66 | unsigned int mask; /* COR/UNCOR Error Mask */ |
64 | struct header_log_regs tlp; /* TLP Header */ | 67 | struct header_log_regs tlp; /* TLP Header */ |