summaryrefslogtreecommitdiffstats
path: root/ipmisensor.cpp
diff options
context:
space:
mode:
authorDhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>2017-11-23 01:08:46 -0600
committerTom Joseph <tomjoseph@in.ibm.com>2018-01-22 18:40:44 +0000
commit6244f93d23169bd6a810d698a20b2e06ab842684 (patch)
tree02cd795f9d19361a733dbbaa1cdf96fa9d98d20e /ipmisensor.cpp
parent5e007a5daaaa9e9b4ea0400ad798b2e4ec44a838 (diff)
downloadphosphor-host-ipmid-6244f93d23169bd6a810d698a20b2e06ab842684.zip
phosphor-host-ipmid-6244f93d23169bd6a810d698a20b2e06ab842684.tar.gz
Add sensor entry for power supply redundancy enabled.
IPMI to dbus lookup contained only mapping for PS redundancy disabled, adding the mapping for enabled. Changing the PS redundancy sensor type from D8 to CA. Resolves openbmc/openbmc#2810 Change-Id: I2399ce76a168f63f6a4528cff8aa397ef12d5e1e Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Diffstat (limited to 'ipmisensor.cpp')
-rw-r--r--ipmisensor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipmisensor.cpp b/ipmisensor.cpp
index eb70a7d..3bca4e7 100644
--- a/ipmisensor.cpp
+++ b/ipmisensor.cpp
@@ -204,7 +204,8 @@ lookup_t g_ipmidbuslookup[] = {
{0x12, 0x02, set_sensor_dbus_state_system_event, "setValue", "", ""},
{0x12, 0x03, set_sensor_dbus_state_system_event, "setValue", "", ""},
{0x12, 0x04, set_sensor_dbus_state_system_event, "setValue", "", ""},
- {0xD8, 0x00, set_sensor_dbus_state_simple, "setValue", "Disabled", ""},
+ {0xCA, 0x00, set_sensor_dbus_state_simple, "setValue", "Disabled", ""},
+ {0xCA, 0x01, set_sensor_dbus_state_simple, "setValue", "Enabled", ""},
{0xFF, 0xFF, NULL, "", "", ""}
};
OpenPOWER on IntegriCloud