summaryrefslogtreecommitdiffstats
path: root/scripts/entity_gen.py
diff options
context:
space:
mode:
authorJaghathiswari Rankappagounder Natarajan <jaghu@google.com>2019-02-06 15:29:24 -0800
committerJaghathiswari Rankappagounder Natarajan <jaghu@google.com>2019-02-15 21:45:44 +0000
commit0780df105bdd00184de29f48e9946bebfc5b5fb2 (patch)
treebcbc4d52ab84079ddc1b25d603bd34fcac9d1991 /scripts/entity_gen.py
parent97c22e18312482340ea7b016dc1cb26f1f69f605 (diff)
downloadphosphor-host-ipmid-0780df105bdd00184de29f48e9946bebfc5b5fb2.tar.gz
phosphor-host-ipmid-0780df105bdd00184de29f48e9946bebfc5b5fb2.zip
phosphor-host-ipmid: Add support for settable bit in FULL SDR
There is a bit in SDR types 01h and 02h which indicate that a sensor is settable (Supports the "Set Sensor Reading And Event Status" command). Since OpenBMC has some sensors which support this command (eg. fan pwm sensor), the bit should also be set accordingly. The bit in question is Settable Sensor and can be found: IPMI Spec v2.0 rev 1.1: Section 43.1 SDR Type 01h, Full Sensor Record Table 43 - SDR Type 01h, byte 11, bit 7 Tested from the host side that the FULL SDR for sensors which are settable shows up as settable. Change-Id: I5bd140e035a5a96b977dbbbf4acaae0369e832d2 Tested: Yes Signed-off-by: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
Diffstat (limited to 'scripts/entity_gen.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud