mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-27 20:48:22 +00:00
libsensors: Add support for temp[1-*]_min_hyst and temp[1-*]_lcrit_hyst
Add support for sysfs attributes temp[1-*]_min_hyst (already implemented by drivers adt7x10, lm77 and lm92) and temp[1-*]_lcrit_hyst (no known users yet.)
This commit is contained in:
1 parent
eb5cf8b2ec
commit
f09b1c6483
4 files changed
+8
No files matched your search
@@ -190,6 +190,8 @@ typedef enum sensors_subfeature_type {
|
||||
SENSORS_SUBFEATURE_TEMP_EMERGENCY_HYST,
|
||||
SENSORS_SUBFEATURE_TEMP_LOWEST,
|
||||
SENSORS_SUBFEATURE_TEMP_HIGHEST,
|
||||
SENSORS_SUBFEATURE_TEMP_MIN_HYST,
|
||||
SENSORS_SUBFEATURE_TEMP_LCRIT_HYST,
|
||||
SENSORS_SUBFEATURE_TEMP_ALARM = (SENSORS_FEATURE_TEMP << 8) | 0x80,
|
||||
SENSORS_SUBFEATURE_TEMP_MAX_ALARM,
|
||||
SENSORS_SUBFEATURE_TEMP_MIN_ALARM,
|
||||
|
||||
@@ -214,9 +214,11 @@ static const struct subfeature_type_match temp_matches[] = {
|
||||
{ "max", SENSORS_SUBFEATURE_TEMP_MAX },
|
||||
{ "max_hyst", SENSORS_SUBFEATURE_TEMP_MAX_HYST },
|
||||
{ "min", SENSORS_SUBFEATURE_TEMP_MIN },
|
||||
{ "min_hyst", SENSORS_SUBFEATURE_TEMP_MIN_HYST },
|
||||
{ "crit", SENSORS_SUBFEATURE_TEMP_CRIT },
|
||||
{ "crit_hyst", SENSORS_SUBFEATURE_TEMP_CRIT_HYST },
|
||||
{ "lcrit", SENSORS_SUBFEATURE_TEMP_LCRIT },
|
||||
{ "lcrit_hyst", SENSORS_SUBFEATURE_TEMP_LCRIT_HYST },
|
||||
{ "emergency", SENSORS_SUBFEATURE_TEMP_EMERGENCY },
|
||||
{ "emergency_hyst", SENSORS_SUBFEATURE_TEMP_EMERGENCY_HYST },
|
||||
{ "lowest", SENSORS_SUBFEATURE_TEMP_LOWEST },
|
||||
|
||||
Reference in new issue
Block a user