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:30 +0100
committerJörg Frings-Fürst <debian@jff.email>2021-11-27 13:00:30 +0100
commit7c754e216a2df08124ae573e7d487e8b3b9636e1 (patch)
treecdbcef5ecb77cf6005f413e6eda01c9488091cab /util/oem_supermicro.c
parentdf923f0dc3d7183fbce8e2b58fc51a5fe206a4e3 (diff)
parent19b878add9337a1328f974d685c1b236e126e91a (diff)
Update upstream source from tag 'upstream/3.1.8'
Update to upstream version '3.1.8' with Debian dir 7665cd56aa5aa0e0cf7aeff378af6d6e68e56d79
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);