aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/edac/i5100_edac.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/drivers/edac/i5100_edac.c b/drivers/edac/i5100_edac.c
index 43430bf70181..a8767a6c1481 100644
--- a/drivers/edac/i5100_edac.c
+++ b/drivers/edac/i5100_edac.c
@@ -52,12 +52,24 @@
52#define I5100_FERR_NF_MEM_M16ERR_MASK (1 << 16) 52#define I5100_FERR_NF_MEM_M16ERR_MASK (1 << 16)
53#define I5100_FERR_NF_MEM_M15ERR_MASK (1 << 15) 53#define I5100_FERR_NF_MEM_M15ERR_MASK (1 << 15)
54#define I5100_FERR_NF_MEM_M14ERR_MASK (1 << 14) 54#define I5100_FERR_NF_MEM_M14ERR_MASK (1 << 14)
55#define I5100_FERR_NF_MEM_ 55#define I5100_FERR_NF_MEM_M12ERR_MASK (1 << 12)
56#define I5100_FERR_NF_MEM_ 56#define I5100_FERR_NF_MEM_M11ERR_MASK (1 << 11)
57#define I5100_FERR_NF_MEM_M10ERR_MASK (1 << 10)
58#define I5100_FERR_NF_MEM_M6ERR_MASK (1 << 6)
59#define I5100_FERR_NF_MEM_M5ERR_MASK (1 << 5)
60#define I5100_FERR_NF_MEM_M4ERR_MASK (1 << 4)
61#define I5100_FERR_NF_MEM_M1ERR_MASK 1
57#define I5100_FERR_NF_MEM_ANY_MASK \ 62#define I5100_FERR_NF_MEM_ANY_MASK \
58 (I5100_FERR_NF_MEM_M16ERR_MASK | \ 63 (I5100_FERR_NF_MEM_M16ERR_MASK | \
59 I5100_FERR_NF_MEM_M15ERR_MASK | \ 64 I5100_FERR_NF_MEM_M15ERR_MASK | \
60 I5100_FERR_NF_MEM_M14ERR_MASK) 65 I5100_FERR_NF_MEM_M14ERR_MASK | \
66 I5100_FERR_NF_MEM_M12ERR_MASK | \
67 I5100_FERR_NF_MEM_M11ERR_MASK | \
68 I5100_FERR_NF_MEM_M10ERR_MASK | \
69 I5100_FERR_NF_MEM_M6ERR_MASK | \
70 I5100_FERR_NF_MEM_M5ERR_MASK | \
71 I5100_FERR_NF_MEM_M4ERR_MASK | \
72 I5100_FERR_NF_MEM_M1ERR_MASK)
61#define I5100_FERR_NF_MEM_ANY(a) ((a) & I5100_FERR_NF_MEM_ANY_MASK) 73#define I5100_FERR_NF_MEM_ANY(a) ((a) & I5100_FERR_NF_MEM_ANY_MASK)
62#define I5100_NERR_NF_MEM 0xa4 /* MC Next Non-Fatal Errors */ 74#define I5100_NERR_NF_MEM 0xa4 /* MC Next Non-Fatal Errors */
63#define I5100_NERR_NF_MEM_ANY(a) I5100_FERR_NF_MEM_ANY(a) 75#define I5100_NERR_NF_MEM_ANY(a) I5100_FERR_NF_MEM_ANY(a)