diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2021-11-27 13:00:40 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2021-11-27 13:00:40 +0100 |
commit | e546729737ea56d1165f5f2206f6a81cc1abf474 (patch) | |
tree | cdbcef5ecb77cf6005f413e6eda01c9488091cab /util/oem_supermicro.c | |
parent | df923f0dc3d7183fbce8e2b58fc51a5fe206a4e3 (diff) | |
parent | 7c754e216a2df08124ae573e7d487e8b3b9636e1 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'util/oem_supermicro.c')
-rw-r--r-- | util/oem_supermicro.c | 3 |
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); |