diff options
Diffstat (limited to 'src/occ_405/dimm/dimm.c')
-rwxr-xr-x | src/occ_405/dimm/dimm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/occ_405/dimm/dimm.c b/src/occ_405/dimm/dimm.c index 567fca5..fb62d6b 100755 --- a/src/occ_405/dimm/dimm.c +++ b/src/occ_405/dimm/dimm.c @@ -281,6 +281,15 @@ void mark_dimm_failed() g_amec->proc[0].memctl[port].centaur.dimm_temps[dimm].flags |= FRU_SENSOR_STATUS_ERROR; + if (port == 0) + { + INCREMENT_ERR_HISTORY(ERR_DIMM_I2C_PORT0); + } + else + { + INCREMENT_ERR_HISTORY(ERR_DIMM_I2C_PORT1); + } + if (++G_dimm[port][dimm].errorCount > MAX_CONSECUTIVE_DIMM_RESETS) { // Disable collection on this DIMM, collect FFDC and log error |