mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-04 21:58:18 +00:00
Map individual beep features. We had symbols for them for a long time,
I have no idea why they weren't mapped to the sysfs file names. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5843 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
eaabfc8573
commit
60635dafc6
2 files changed
+5
No files matched your search
@@ -228,6 +228,7 @@ static const struct subfeature_type_match temp_matches[] = {
|
||||
{ "fault", SENSORS_SUBFEATURE_TEMP_FAULT },
|
||||
{ "type", SENSORS_SUBFEATURE_TEMP_TYPE },
|
||||
{ "offset", SENSORS_SUBFEATURE_TEMP_OFFSET },
|
||||
{ "beep", SENSORS_SUBFEATURE_TEMP_BEEP },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
@@ -238,6 +239,7 @@ static const struct subfeature_type_match in_matches[] = {
|
||||
{ "alarm", SENSORS_SUBFEATURE_IN_ALARM },
|
||||
{ "min_alarm", SENSORS_SUBFEATURE_IN_MIN_ALARM },
|
||||
{ "max_alarm", SENSORS_SUBFEATURE_IN_MAX_ALARM },
|
||||
{ "beep", SENSORS_SUBFEATURE_IN_BEEP },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
@@ -247,6 +249,7 @@ static const struct subfeature_type_match fan_matches[] = {
|
||||
{ "div", SENSORS_SUBFEATURE_FAN_DIV },
|
||||
{ "alarm", SENSORS_SUBFEATURE_FAN_ALARM },
|
||||
{ "fault", SENSORS_SUBFEATURE_FAN_FAULT },
|
||||
{ "beep", SENSORS_SUBFEATURE_FAN_BEEP },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
@@ -273,6 +276,7 @@ static const struct subfeature_type_match curr_matches[] = {
|
||||
{ "alarm", SENSORS_SUBFEATURE_CURR_ALARM },
|
||||
{ "min_alarm", SENSORS_SUBFEATURE_CURR_MIN_ALARM },
|
||||
{ "max_alarm", SENSORS_SUBFEATURE_CURR_MAX_ALARM },
|
||||
{ "beep", SENSORS_SUBFEATURE_CURR_BEEP },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user