@@ -120,11 +120,11 @@ static int efx_check_lm87(struct efx_nic *efx, unsigned mask)
alarms2 &= mask >> 8;
if (alarms1 || alarms2) {
EFX_ERR(efx,
- "LM87 detected a hardware failure (status %02x:%02x)"
- "%s%s\n",
- alarms1, alarms2,
- (alarms1 & LM87_ALARM_TEMP_INT) ? " INTERNAL" : "",
- (alarms1 & LM87_ALARM_TEMP_EXT1) ? " EXTERNAL" : "");
+ "HW alarm: %s out of range (LM87 status %02x:%02x)\n",
+ (alarms1 & LM87_ALARM_TEMP_INT) ? "Board temperature" :
+ (alarms1 & LM87_ALARM_TEMP_EXT1) ? "Controller temperature" :
+ "Voltage",
+ alarms1, alarms2);
return -ERANGE;
}