drivers/edac: mc sysfs add missing mem types
authorDave Jiang <djiang@mvista.com>
Thu, 19 Jul 2007 08:49:38 +0000 (01:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:53 +0000 (10:04 -0700)
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>
drivers/edac/edac_mc_sysfs.c

index 35bcf926017fdad37e929e0da556498f6fdf2c5e..30780efc44b39cb8439b1271ac445ac47a96a0a6 100644 (file)
@@ -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[] = {