summaryrefslogtreecommitdiffstats
path: root/host-ipmid/oemopenbmc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host-ipmid/oemopenbmc.hpp')
-rw-r--r--host-ipmid/oemopenbmc.hpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/host-ipmid/oemopenbmc.hpp b/host-ipmid/oemopenbmc.hpp
new file mode 100644
index 0000000..c3bfaa4
--- /dev/null
+++ b/host-ipmid/oemopenbmc.hpp
@@ -0,0 +1,25 @@
+#pragma once
+
+#include "host-ipmid/ipmid-api.h"
+#include "host-ipmid/oemrouter.hpp"
+
+namespace oem
+{
+
+/*
+ * This is the OpenBMC IANA OEM Number
+ */
+constexpr Number obmcOemNumber = 49871;
+
+/*
+ * OpenBMC OEM Extension IPMI Command codes.
+ */
+enum Cmd
+{
+ gpioCmd = 1,
+ i2cCmd = 2,
+ flashCmd = 3,
+ fanManualCmd = 4,
+};
+
+} // namespace oem
OpenPOWER on IntegriCloud