summaryrefslogtreecommitdiffstats
path: root/host-ipmid/ipmid-api.h
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-01-08 15:17:09 -0800
committerTom Joseph <tomjoseph@in.ibm.com>2018-01-24 20:15:00 +0000
commit5325f2cba7154825c8c887bc099f01b35c70279f (patch)
tree352442238ec09e9f438981b0f83616f3100a06b2 /host-ipmid/ipmid-api.h
parenta9fbff43d2e63ac9b4695ae988dd3100b4acfb29 (diff)
downloadphosphor-host-ipmid-5325f2cba7154825c8c887bc099f01b35c70279f.tar.gz
phosphor-host-ipmid-5325f2cba7154825c8c887bc099f01b35c70279f.zip
watchdog: Implement error on reset of disabled watchdog
This enables the host to recover when the BMC resets or the daemon loses state for some reason. A well formed host will resend the SetTimeout command if it encounters this error code. Change-Id: Ib5fd50ac3ad83ef820f0209354aa8f084a563995 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'host-ipmid/ipmid-api.h')
-rw-r--r--host-ipmid/ipmid-api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/host-ipmid/ipmid-api.h b/host-ipmid/ipmid-api.h
index 5539f9c..5f7bac3 100644
--- a/host-ipmid/ipmid-api.h
+++ b/host-ipmid/ipmid-api.h
@@ -111,6 +111,7 @@ enum ipmi_return_codes
{
IPMI_CC_OK = 0x00,
IPMI_DCMI_CC_NO_ACTIVE_POWER_LIMIT = 0x80,
+ IPMI_WDOG_CC_NOT_INIT = 0x80,
IPMI_CC_INVALID = 0xC1,
IPMI_CC_INVALID_RESERVATION_ID = 0xC5,
IPMI_CC_REQ_DATA_LEN_INVALID = 0xC7,
OpenPOWER on IntegriCloud