diff options
author | Joel Stanley <joel@jms.id.au> | 2015-02-05 13:40:03 +1030 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-09 14:06:05 +1100 |
commit | da0d0f92ae3c401f47c1e0107d0628a70f0542b3 (patch) | |
tree | af8dbfebb1c973ace53d9451440d300a9f03d12a /include | |
parent | 6e42e6364ed2b1e976d7ddace2e28f27c0b46ba4 (diff) | |
download | skiboot-da0d0f92ae3c401f47c1e0107d0628a70f0542b3.zip skiboot-da0d0f92ae3c401f47c1e0107d0628a70f0542b3.tar.gz skiboot-da0d0f92ae3c401f47c1e0107d0628a70f0542b3.tar.bz2 |
ipmi: Set BMC Global Enables to enable notifications
For OEM events including graceful power down and BMC PNOR access we want
to receive notification whenever a message is ready to be read from the
BMC. This requires the Event Message Buffer flag to be enabled.
This is the equivalent of doing mc setenables event_msg=on with
ipmitool, except the message must come from the BT interface in order to
have permission to modify the flags.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/ipmi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ipmi.h b/include/ipmi.h index 9f9cfbb..68bf5a7 100644 --- a/include/ipmi.h +++ b/include/ipmi.h @@ -101,6 +101,8 @@ #define IPMI_CHASSIS_CONTROL IPMI_CODE(IPMI_NETFN_CHASSIS, 0x02) #define IPMI_SET_POWER_STATE IPMI_CODE(IPMI_NETFN_APP, 0x06) #define IPMI_GET_POWER_STATE IPMI_CODE(IPMI_NETFN_APP, 0x07) +#define IPMI_SET_ENABLES IPMI_CODE(IPMI_NETFN_APP, 0x2E) +#define IPMI_GET_ENABLES IPMI_CODE(IPMI_NETFN_APP, 0x2F) #define IPMI_CLEAR_MESSAGE_FLAGS IPMI_CODE(IPMI_NETFN_APP, 0x30) #define IPMI_GET_MESSAGE_FLAGS IPMI_CODE(IPMI_NETFN_APP, 0x31) #define IPMI_GET_MESSAGE IPMI_CODE(IPMI_NETFN_APP, 0x33) |