summaryrefslogtreecommitdiffstats
path: root/tach_sensor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Documentation only, no functional changeMatthew Barth2017-03-151-0/+15
| | | | | | | | | Added copyrights and comments within headers Resolves openbmc/openbmc#959 Change-Id: If58d78a39fb08251a34a88c2b6340c9fa33d2569 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Enable tach signal handlerMatthew Barth2017-03-151-0/+36
| | | | | | | | | Register and handle tach change signals for each tach sensor. Inventory would be updated when all tach sensors for a specific fan enclosure have a tach value of zero. Change-Id: Idd3f53c29c68c6171d858e616fbfe868f30a4ea9 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add tach sensors to each fan enclosureMatthew Barth2017-03-151-1/+1
| | | | | | | | | | Create a tach sensor instance for each sensor listed within a fan enclosure that uses 'tach' based presence detection. Each tach sensor has a pointer to the fan it's associated with and is added to the list of sensors for that fan enclosure. Change-Id: I9a83ec52d1a5d01e39702e185336a09edeb4d158 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add fan presence application frameworkMatthew Barth2017-03-091-0/+18
Add class framework for detecting fans by tach Change-Id: I45295fd6bcd81c62cef36320dfbc4f0da6092557 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
OpenPOWER on IntegriCloud