summaryrefslogtreecommitdiffstats
path: root/sensorhandler.h
diff options
context:
space:
mode:
authorChris Austen <austenc@us.ibm.com>2015-10-13 12:43:27 -0500
committerChris Austen <austenc@us.ibm.com>2015-10-13 12:43:27 -0500
commitac4604a2f709b228def4dbc9706d31f0b62ae9cb (patch)
tree6844f91e1d9633e29133ae8228751a6377cedc8f /sensorhandler.h
parent6caf28bd4653890dedfaf8179b68eb2262b96ff0 (diff)
downloadphosphor-host-ipmid-ac4604a2f709b228def4dbc9706d31f0b62ae9cb.tar.gz
phosphor-host-ipmid-ac4604a2f709b228def4dbc9706d31f0b62ae9cb.zip
Add sensor ipmi commands
Diffstat (limited to 'sensorhandler.h')
-rw-r--r--sensorhandler.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sensorhandler.h b/sensorhandler.h
new file mode 100644
index 0000000..da63bcb
--- /dev/null
+++ b/sensorhandler.h
@@ -0,0 +1,13 @@
+#ifndef __HOST_IPMI_SEN_HANDLER_H__
+#define __HOST_IPMI_SEN_HANDLER_H__
+
+// IPMI commands for net functions.
+enum ipmi_netfn_sen_cmds
+{
+ // Get capability bits
+ IPMI_CMD_GET_SENSOR_TYPE = 0x2F,
+ IPMI_CMD_SET_SENSOR = 0x30,
+
+};
+
+#endif
OpenPOWER on IntegriCloud