mirror of
https://github.com/opnsense/src.git
synced 2026-05-19 16:35:42 -04:00
Add request submission status checks before checking req->ir_compcode,
otherwise it may be zero just because of initialization.
Add checks for req->ir_compcode errors in ipmi_reset_watchdog() and
ipmi_set_watchdog(). In first case explicitly check for 0x80, which
means timer was not previously set, that I found happening after BMC
cold reset. This change makes watchdog timer to recover instead of
permanently ignoring reset errors after BMC reset or upgraded.
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| ipmi.c | ||
| ipmi_acpi.c | ||
| ipmi_isa.c | ||
| ipmi_kcs.c | ||
| ipmi_linux.c | ||
| ipmi_opal.c | ||
| ipmi_pci.c | ||
| ipmi_smbios.c | ||
| ipmi_smbus.c | ||
| ipmi_smic.c | ||
| ipmi_ssif.c | ||
| ipmivars.h | ||