[PATCH skeleton] Enable and Handle Checkstop gpio sensor.

OpenBMC Patches openbmc-patches at stwcx.xyz
Mon May 9 02:40:48 AEST 2016


In sensor_manager2.py :: class SensorManager :: method *register* expects a *sensor class name* to be instantiated. This will work only for sensors implemented in python. There must be a binding agnostic method to register sensors.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/skeleton/74)
<!-- Reviewable:end -->


https://github.com/openbmc/skeleton/pull/74

Hariharasubramanian R (1):
  Enable and Handle Checkstop gpio sensor.

 Makefile                   |  24 +++---
 bin/Barreleye.py           |   1 +
 bin/Openbmc.py             |   3 +-
 bin/chassis_control.py     |  10 ++-
 includes/gpio-init-gdbus.c | 100 +++++++++++++++++++++++
 includes/gpio-init-sdbus.c |  94 ++++++++++++++++++++++
 includes/gpio.c            |  93 +---------------------
 includes/gpio.h            |   9 ++-
 objects/host_xstop_obj.c   | 194 +++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 417 insertions(+), 111 deletions(-)
 create mode 100644 includes/gpio-init-gdbus.c
 create mode 100644 includes/gpio-init-sdbus.c
 create mode 100644 objects/host_xstop_obj.c

-- 
2.8.1




More information about the openbmc mailing list