summaryrefslogtreecommitdiffstats
path: root/storagehandler.h
diff options
context:
space:
mode:
authorChris Austen <austenc@us.ibm.com>2015-10-13 12:44:43 -0500
committerChris Austen <austenc@us.ibm.com>2015-10-13 12:44:43 -0500
commitb4f5b9270bb88899ffeb5b81a17f0def0e559d86 (patch)
tree4e180505ad417bfef378a1e5e57fcb93c05d430c /storagehandler.h
parentac4604a2f709b228def4dbc9706d31f0b62ae9cb (diff)
downloadphosphor-host-ipmid-b4f5b9270bb88899ffeb5b81a17f0def0e559d86.tar.gz
phosphor-host-ipmid-b4f5b9270bb88899ffeb5b81a17f0def0e559d86.zip
Add storage ipmi commands
Diffstat (limited to 'storagehandler.h')
-rw-r--r--storagehandler.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/storagehandler.h b/storagehandler.h
new file mode 100644
index 0000000..56c1a8b
--- /dev/null
+++ b/storagehandler.h
@@ -0,0 +1,16 @@
+#ifndef __HOST_IPMI_STORAGE_HANDLER_H__
+#define __HOST_IPMI_STORAGE_HANDLER_H__
+
+// IPMI commands for net functions.
+enum ipmi_netfn_storage_cmds
+{
+ // Get capability bits
+ IPMI_CMD_SET_SEL_TIME = 0x49,
+ IPMI_CMD_WRITE_FRU_DATA = 0x12,
+ IPMI_CMD_GET_SEL_INFO = 0x40,
+ IPMI_CMD_RESERVE_SEL = 0x42,
+ IPMI_CMD_ADD_SEL = 0x44,
+
+};
+
+#endif
OpenPOWER on IntegriCloud