aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Gelato <Sergio.Gelato@astro.su.se>2016-03-06 22:48:44 +0100
committerAndi Kleen <ak@linux.intel.com>2016-03-21 16:09:01 -0700
commit45cbf4009d2dd6c0f86551ad6b7c0f43140ebf86 (patch)
treeb39d9770725066cc1716e92d8d289120f64b6007
parent8cbffb62729ba54800a0110420aaeb7d4217fdb7 (diff)
downloadmcelog-45cbf4009d2dd6c0f86551ad6b7c0f43140ebf86.tar.gz
New form factors, memory types and type details from SMBIOS 3.0.0
From tables 74, 75 and 76 of the SMBIOS 3.0.0 specification. Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r--dmi.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/dmi.c b/dmi.c
index e9c041c..12ff13f 100644
--- a/dmi.c
+++ b/dmi.c
@@ -306,13 +306,15 @@ static char *form_factors[] = {
"?",
"Other", "Unknown", "SIMM", "SIP", "Chip", "DIP", "ZIP",
"Proprietary Card", "DIMM", "TSOP", "Row of chips", "RIMM",
- "SODIMM", "SRIMM"
+ "SODIMM", "SRIMM", "FB-DIMM"
};
static char *memory_types[] = {
"?",
"Other", "Unknown", "DRAM", "EDRAM", "VRAM", "SRAM", "RAM",
"ROM", "FLASH", "EEPROM", "FEPROM", "EPROM", "CDRAM", "3DRAM",
- "SDRAM", "SGRAM", "RDRAM", "DDR", "DDR2"
+ "SDRAM", "SGRAM", "RDRAM", "DDR", "DDR2", "DDR2 FB-DIMM",
+ "Reserved 0x15", "Reserved 0x16", "Reserved 0x17", "DDR3",
+ "FBD2", "DDR4", "LPDDR", "LPDDR2", "LPDDR3", "LPDDR4"
};
#define LOOKUP(array, val, buf) \
@@ -323,7 +325,8 @@ static char *memory_types[] = {
static char *type_details[16] = {
"Reserved", "Other", "Unknown", "Fast-paged", "Static Column",
"Pseudo static", "RAMBUS", "Synchronous", "CMOS", "EDO",
- "Window DRAM", "Cache DRAM", "Non-volatile", "Res13", "Res14", "Res15"
+ "Window DRAM", "Cache DRAM", "Non-volatile", "Registered",
+ "Unbuffered", "LRDIMM"
};
static void dump_type_details(unsigned short td)