summaryrefslogtreecommitdiffstats
path: root/apphandler.h
diff options
context:
space:
mode:
authorChris Austen <austenc@us.ibm.com>2016-02-05 20:02:29 -0600
committerChris Austen <austenc@us.ibm.com>2016-02-05 20:02:29 -0600
commitc2cd29d48cf9d2c716bd73f60570733dae9cb0ed (patch)
tree8d0d65ee1eec8ef5ac328f8f246ae766f287a97b /apphandler.h
parentbec22bb7cf730147bf4b036fa9237b8495be4e75 (diff)
downloadphosphor-host-ipmid-c2cd29d48cf9d2c716bd73f60570733dae9cb0ed.tar.gz
phosphor-host-ipmid-c2cd29d48cf9d2c716bd73f60570733dae9cb0ed.zip
Add minimal support for ipmitool
Adding just a couple of ipmi commands that ipmitool always calls. I'm doing this because in order to run the ipmitool lan 1 <parms> instead of just the raw command the get channel info was needed.
Diffstat (limited to 'apphandler.h')
-rw-r--r--apphandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apphandler.h b/apphandler.h
index aa2a55d..a17ee7f 100644
--- a/apphandler.h
+++ b/apphandler.h
@@ -27,6 +27,8 @@ enum ipmi_netfn_app_cmds
IPMI_CMD_GET_MSG_FLAGS = 0x31,
IPMI_CMD_READ_EVENT = 0x35,
IPMI_CMD_GET_CAP_BIT = 0x36,
+ IPMI_CMD_GET_CHAN_INFO = 0x42,
+
};
// A Mechanism to tell host to shtudown hosts by sending this PEM SEL. Really
OpenPOWER on IntegriCloud