summaryrefslogtreecommitdiff
path: root/util/oem_supermicro.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-11-28 13:35:46 +0100
committerJörg Frings-Fürst <debian@jff.email>2021-11-28 13:35:46 +0100
commit73cc47da56f66615c943c16da6c04e0c5db5af7f (patch)
tree28e0a8e1801880f78392a24e03dbca540182f98c /util/oem_supermicro.c
parent12f0c28c2c2a1785278df0d0731ef57921c0cd1a (diff)
parentaa6f36c496d85c26f929619d0cb27a53493298d2 (diff)
Merge branch 'release/debian/3.1.8-1'debian/3.1.8-1
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);