diff options
author | Nan Li <william.bjlinan@hotmail.com> | 2016-08-16 22:29:40 +0800 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-10-06 02:55:24 +0000 |
commit | 8d15fb490ea7db36ffacfe3dfaa5d8feb2a4ff0c (patch) | |
tree | 0064daa66f1efbe87defdfa4ca5f85dc74ec5892 /chassishandler.h | |
parent | 00b1e5be1ce0d74541e371790e36a53146cb3b44 (diff) | |
download | phosphor-host-ipmid-8d15fb490ea7db36ffacfe3dfaa5d8feb2a4ff0c.tar.gz phosphor-host-ipmid-8d15fb490ea7db36ffacfe3dfaa5d8feb2a4ff0c.zip |
Add IPMI Get-Chassis-Capabilities command
* Implement response to separately commented fields.
* Add to the whitelist.
Note: some hardcoded fields need future work.
Resolve openbmc/openbmc#438.
Change-Id: Ica9a55a14987ddc6b9984c7d3dcb143416ee7e37
Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
Diffstat (limited to 'chassishandler.h')
-rw-r--r-- | chassishandler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chassishandler.h b/chassishandler.h index e47b4a1..b290f21 100644 --- a/chassishandler.h +++ b/chassishandler.h @@ -7,6 +7,7 @@ // IPMI commands for Chassis net functions. enum ipmi_netfn_app_cmds { + IPMI_CMD_GET_CHASSIS_CAP = 0x00, // Chassis Control IPMI_CMD_CHASSIS_CONTROL = 0x02, // Get capability bits |