summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jiang <djiang@mvista.com>2007-07-19 01:49:38 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 10:04:53 -0700
commit1a9b85e6b36cdd046b0a354c38af20a7155272b8 (patch)
treeba17a3725bda6147515faac11f795649fef70a71
parente27e3dac651771fe3250f6305dee277bce29fc5d (diff)
downloadop-kernel-dev-1a9b85e6b36cdd046b0a354c38af20a7155272b8.zip
op-kernel-dev-1a9b85e6b36cdd046b0a354c38af20a7155272b8.tar.gz
drivers/edac: mc sysfs add missing mem types
Adding missing mem types for use in the sysfs presentation file for Memory Controller device objects. Signed-off-by: Dave Jiang <djiang@mvista.com> Signed-off-by: Doug Thompson <dougthompson@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/edac/edac_mc_sysfs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c
index 35bcf92..30780ef 100644
--- a/drivers/edac/edac_mc_sysfs.c
+++ b/drivers/edac/edac_mc_sysfs.c
@@ -67,7 +67,10 @@ static const char *mem_types[] = {
[MEM_RDR] = "Registered-SDR",
[MEM_DDR] = "Unbuffered-DDR",
[MEM_RDDR] = "Registered-DDR",
- [MEM_RMBS] = "RMBS"
+ [MEM_RMBS] = "RMBS",
+ [MEM_DDR2] = "Unbuffered-DDR2",
+ [MEM_FB_DDR2] = "FullyBuffered-DDR2",
+ [MEM_RDDR2] = "Registered-DDR2"
};
static const char *dev_types[] = {
OpenPOWER on IntegriCloud