summaryrefslogtreecommitdiffstats
path: root/storagehandler.h
diff options
context:
space:
mode:
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