2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

Added support for SENSORS_SUBFEATURE_FAN_PULSES to libsensors.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5938 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Guenter Roeck
2011-03-04 20:37:43 +00:00
parent 87057ba770
commit eaf86b0c49
3 changed files with 3 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ given new feature.
enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_CRIT
enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_LCRIT_ALARM
enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_CRIT_ALARM
enum sensors_subfeature_type SENSORS_SUBFEATURE_FAN_PULSES
* Added support for humidity sensors
enum sensors_feature_type SENSORS_FEATURE_HUMIDITY
enum sensors_subfeature_type SENSORS_SUBFEATURE_HUMIDITY_INPUT

View File

@@ -170,6 +170,7 @@ typedef enum sensors_subfeature_type {
SENSORS_SUBFEATURE_FAN_FAULT,
SENSORS_SUBFEATURE_FAN_DIV,
SENSORS_SUBFEATURE_FAN_BEEP,
SENSORS_SUBFEATURE_FAN_PULSES,
SENSORS_SUBFEATURE_TEMP_INPUT = SENSORS_FEATURE_TEMP << 8,
SENSORS_SUBFEATURE_TEMP_MAX,

View File

@@ -265,6 +265,7 @@ static const struct subfeature_type_match fan_matches[] = {
{ "input", SENSORS_SUBFEATURE_FAN_INPUT },
{ "min", SENSORS_SUBFEATURE_FAN_MIN },
{ "div", SENSORS_SUBFEATURE_FAN_DIV },
{ "pulses", SENSORS_SUBFEATURE_FAN_PULSES },
{ "alarm", SENSORS_SUBFEATURE_FAN_ALARM },
{ "fault", SENSORS_SUBFEATURE_FAN_FAULT },
{ "beep", SENSORS_SUBFEATURE_FAN_BEEP },