ipmbsensor: add support for an Ampere SMPro on an IPMB
On ADLINK systems, the SMPro can be reached via the MMC (Module
Management Controller), which is a second BMC. It sits on an IPMB
bus.
Add support for reading power, voltage, current and temperature values
from the SMPro.
Tested: built ipmbsensor and ran new ipmb unit tests.
Change-Id: Ib9862486a18f77fb58d3acd59de7686750029b56
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
diff --git a/src/IpmbSensor.hpp b/src/IpmbSensor.hpp
index d22e36d..953e44a 100644
--- a/src/IpmbSensor.hpp
+++ b/src/IpmbSensor.hpp
@@ -20,7 +20,8 @@
PXE1410CVR,
IR38363VR,
ADM1278HSC,
- mpsVR
+ mpsVR,
+ SMPro
};
enum class IpmbSubType
@@ -37,9 +38,12 @@
{
byte0,
byte3,
+ nineBit,
+ tenBit,
elevenBit,
elevenBitShift,
- linearElevenBit
+ linearElevenBit,
+ fifteenBit
};
namespace ipmi