diff options
Diffstat (limited to 'drivers/edac/edac_mc.c')
-rw-r--r-- | drivers/edac/edac_mc.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index b629c41756f0..3630308e7b81 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c | |||
@@ -76,6 +76,30 @@ static void edac_mc_dump_mci(struct mem_ctl_info *mci) | |||
76 | debugf3("\tpvt_info = %p\n\n", mci->pvt_info); | 76 | debugf3("\tpvt_info = %p\n\n", mci->pvt_info); |
77 | } | 77 | } |
78 | 78 | ||
79 | /* | ||
80 | * keep those in sync with the enum mem_type | ||
81 | */ | ||
82 | const char *edac_mem_types[] = { | ||
83 | "Empty csrow", | ||
84 | "Reserved csrow type", | ||
85 | "Unknown csrow type", | ||
86 | "Fast page mode RAM", | ||
87 | "Extended data out RAM", | ||
88 | "Burst Extended data out RAM", | ||
89 | "Single data rate SDRAM", | ||
90 | "Registered single data rate SDRAM", | ||
91 | "Double data rate SDRAM", | ||
92 | "Registered Double data rate SDRAM", | ||
93 | "Rambus DRAM", | ||
94 | "Unbuffered DDR2 RAM", | ||
95 | "Fully buffered DDR2", | ||
96 | "Registered DDR2 RAM", | ||
97 | "Rambus XDR", | ||
98 | "Unbuffered DDR3 RAM", | ||
99 | "Registered DDR3 RAM", | ||
100 | }; | ||
101 | EXPORT_SYMBOL_GPL(edac_mem_types); | ||
102 | |||
79 | #endif /* CONFIG_EDAC_DEBUG */ | 103 | #endif /* CONFIG_EDAC_DEBUG */ |
80 | 104 | ||
81 | /* 'ptr' points to a possibly unaligned item X such that sizeof(X) is 'size'. | 105 | /* 'ptr' points to a possibly unaligned item X such that sizeof(X) is 'size'. |