]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: aerdrv: redefine PCI_ERR_ROOT_*_SRC
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Thu, 15 Apr 2010 04:17:33 +0000 (13:17 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 11 May 2010 19:01:34 +0000 (12:01 -0700)
commit37f5a68dd4615a9f2928a6c98703062753403ce5
treedc5e677d978435159dd62e1faf0824fb01e44aa0
parente5163c52b73aaff4a850acba607c15222440d706
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>
drivers/pci/pcie/aer/aer_inject.c
drivers/pci/pcie/aer/aerdrv.c
include/linux/pci_regs.h