From 19b878add9337a1328f974d685c1b236e126e91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 27 Nov 2021 13:00:21 +0100 Subject: New upstream version 3.1.8 --- util/oem_supermicro.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/oem_supermicro.c') 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); -- cgit v1.2.3