diff options
Diffstat (limited to 'dcmihandler.hpp')
-rw-r--r-- | dcmihandler.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/dcmihandler.hpp b/dcmihandler.hpp index cb46d5c..212e9ac 100644 --- a/dcmihandler.hpp +++ b/dcmihandler.hpp @@ -6,19 +6,19 @@ #include <vector> #include <sdbusplus/bus.hpp> -// IPMI commands for net functions. -enum ipmi_netfn_sen_cmds +namespace dcmi +{ + +enum Commands { // Get capability bits - IPMI_CMD_DCMI_GET_POWER_LIMIT = 0x03, - IPMI_CMD_DCMI_SET_POWER_LIMIT = 0x04, - IPMI_CMD_DCMI_APPLY_POWER_LIMIT = 0x05, - IPMI_CMD_DCMI_GET_ASSET_TAG = 0x06, - IPMI_CMD_DCMI_SET_ASSET_TAG = 0x08, + GET_POWER_LIMIT = 0x03, + SET_POWER_LIMIT = 0x04, + APPLY_POWER_LIMIT = 0x05, + GET_ASSET_TAG = 0x06, + SET_ASSET_TAG = 0x08, }; -namespace dcmi -{ static constexpr auto propIntf = "org.freedesktop.DBus.Properties"; static constexpr auto assetTagIntf = |