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:
Jean Delvare committed 2014-04-22 08:05:14 +00:00
1 parent eb5cf8b2ec
commit f09b1c6483
4 files changed
+8

No files matched your search

+2
View File
@@ -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 },