summaryrefslogtreecommitdiff
path: root/util/oem_supermicro.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-11-27 13:00:21 +0100
committerJörg Frings-Fürst <debian@jff.email>2021-11-27 13:00:21 +0100
commit19b878add9337a1328f974d685c1b236e126e91a (patch)
tree9456d2acb9dafe87f1f70952a2dd472e4e06d1df /util/oem_supermicro.c
parent0e9b185152b56ff33fe8a2a89a4f84923a308300 (diff)
New upstream version 3.1.8upstream/3.1.8
Diffstat (limited to 'util/oem_supermicro.c')
-rw-r--r--util/oem_supermicro.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/oem_supermicro.c b/util/oem_supermicro.c
index 62ecbfe..69d75b0 100644
--- a/util/oem_supermicro.c
+++ b/util/oem_supermicro.c
@@ -575,11 +575,14 @@ int decode_mem_supermicro(int prod, uchar b2, uchar b3, char *desc, int *psz)
n = sprintf(desc,"P%d_DIMM%c%d",cpu,rgpair[pair],dimm);
}
/* Use DMI if we get confirmation about cpu/dimm indices. */
+#ifdef NOT
+ /* dangerous for some SuperMicro firmware/BIOS combos */
if (! is_remote()) {
fsm_debug = fdebug;
rv = get_MemDesc(cpu,dimm,desc,psz);
/* if (rv != 0) desc has "DIMM[%d}" */
}
+#endif
if ((bdata == 0xFF) || (rv != 0)) n = sprintf(desc,DIMM_UNKNOWN);
if (fdebug)
printf("decode_mem_supermicro: v%d bdata=%02x(%d) cpu=%d dimm=%d pair=%d\n",ver,bdata,bdata,cpu,dimm,pair);