diff options
author | Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> | 2010-04-15 00:17:33 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-05-11 15:01:34 -0400 |
commit | f647a44f5725b0e6c8211096f4b49900164123ee (patch) | |
tree | dc5e677d978435159dd62e1faf0824fb01e44aa0 /include/linux/pci_regs.h | |
parent | 17e21854bd59862f4ee47d1c7e828549f782711b (diff) |
PCI: aerdrv: redefine PCI_ERR_ROOT_*_SRC
The Error Source Identification Register (Offset 34h) is 4 byte
which contains a couple of 2 byte field, "[15:0] ERR_COR Source
Identification" and "[31:16] ERR_FATAL/NONFATAL Source Identification."
This patch defines PCI_ERR_ROOT_ERR_SRC to make dword access sensible.
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci_regs.h')
-rw-r--r-- | include/linux/pci_regs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h index c8f302991b66..dd0dd873f637 100644 --- a/include/linux/pci_regs.h +++ b/include/linux/pci_regs.h | |||
@@ -563,8 +563,7 @@ | |||
563 | #define PCI_ERR_ROOT_FIRST_FATAL 0x00000010 /* First Fatal */ | 563 | #define PCI_ERR_ROOT_FIRST_FATAL 0x00000010 /* First Fatal */ |
564 | #define PCI_ERR_ROOT_NONFATAL_RCV 0x00000020 /* Non-Fatal Received */ | 564 | #define PCI_ERR_ROOT_NONFATAL_RCV 0x00000020 /* Non-Fatal Received */ |
565 | #define PCI_ERR_ROOT_FATAL_RCV 0x00000040 /* Fatal Received */ | 565 | #define PCI_ERR_ROOT_FATAL_RCV 0x00000040 /* Fatal Received */ |
566 | #define PCI_ERR_ROOT_COR_SRC 52 | 566 | #define PCI_ERR_ROOT_ERR_SRC 52 /* Error Source Identification */ |
567 | #define PCI_ERR_ROOT_SRC 54 | ||
568 | 567 | ||
569 | /* Virtual Channel */ | 568 | /* Virtual Channel */ |
570 | #define PCI_VC_PORT_REG1 4 | 569 | #define PCI_VC_PORT_REG1 4 |