Go to the documentation of this file.
12 #ifndef _MV64X60_EDAC_H_
13 #define _MV64X60_EDAC_H_
15 #define MV64x60_REVISION " Ver: 2.0.0"
16 #define EDAC_MOD_STR "MV64x60_edac"
18 #define mv64x60_printk(level, fmt, arg...) \
19 edac_printk(level, "MV64x60", fmt, ##arg)
21 #define mv64x60_mc_printk(mci, level, fmt, arg...) \
22 edac_mc_chipset_printk(mci, level, "MV64x60", fmt, ##arg)
25 #define MV64x60_CPU_ERR_ADDR_LO 0x00
26 #define MV64x60_CPU_ERR_ADDR_HI 0x08
27 #define MV64x60_CPU_ERR_DATA_LO 0x00
28 #define MV64x60_CPU_ERR_DATA_HI 0x08
29 #define MV64x60_CPU_ERR_PARITY 0x10
30 #define MV64x60_CPU_ERR_CAUSE 0x18
31 #define MV64x60_CPU_ERR_MASK 0x20
33 #define MV64x60_CPU_CAUSE_MASK 0x07ffffff
36 #define MV64X60_SRAM_ERR_CAUSE 0x08
37 #define MV64X60_SRAM_ERR_ADDR_LO 0x10
38 #define MV64X60_SRAM_ERR_ADDR_HI 0x78
39 #define MV64X60_SRAM_ERR_DATA_LO 0x18
40 #define MV64X60_SRAM_ERR_DATA_HI 0x20
41 #define MV64X60_SRAM_ERR_PARITY 0x28
44 #define MV64X60_SDRAM_CONFIG 0x00
45 #define MV64X60_SDRAM_ERR_DATA_HI 0x40
46 #define MV64X60_SDRAM_ERR_DATA_LO 0x44
47 #define MV64X60_SDRAM_ERR_ECC_RCVD 0x48
48 #define MV64X60_SDRAM_ERR_ECC_CALC 0x4c
49 #define MV64X60_SDRAM_ERR_ADDR 0x50
50 #define MV64X60_SDRAM_ERR_ECC_CNTL 0x54
51 #define MV64X60_SDRAM_ERR_ECC_ERR_CNT 0x58
53 #define MV64X60_SDRAM_REGISTERED 0x20000
54 #define MV64X60_SDRAM_ECC 0x40000
62 #define MV64X60_PCIx_ERR_MASK_VAL 0x00a50c24
65 #define MV64X60_PCI_ERROR_ADDR_LO 0x00
66 #define MV64X60_PCI_ERROR_ADDR_HI 0x04
67 #define MV64X60_PCI_ERROR_ATTR 0x08
68 #define MV64X60_PCI_ERROR_CMD 0x10
69 #define MV64X60_PCI_ERROR_CAUSE 0x18
70 #define MV64X60_PCI_ERROR_MASK 0x1c
72 #define MV64X60_PCI_ERR_SWrPerr 0x0002
73 #define MV64X60_PCI_ERR_SRdPerr 0x0004
74 #define MV64X60_PCI_ERR_MWrPerr 0x0020
75 #define MV64X60_PCI_ERR_MRdPerr 0x0040
77 #define MV64X60_PCI_PE_MASK (MV64X60_PCI_ERR_SWrPerr | \
78 MV64X60_PCI_ERR_SRdPerr | \
79 MV64X60_PCI_ERR_MWrPerr | \
80 MV64X60_PCI_ERR_MRdPerr)
82 struct mv64x60_pci_pdata {