mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-18 19:30:54 +00:00
-comment abituguru entry in lib/chips.c and prog/sensors/main.c, as the
abituguru seems to work well with the new dynamic chip support and generic chip printroutines. note: the abituguru code should be completly removed in the future. -comment k8temp entry in lib/chips.c and prog/sensors/main.c, as the k8temp seems to work well with the new dynamic chip support and generic chip printroutines. note: the k8temp code should be completly removed in the future. -make the match for the subtype exact instead of a strncmp, otherwise an alarm_enable flag gets classified as an alarm, leading to all sensors who have their alarm enabled getting an alarm reported, as the alarm_enabled gets read as alarm. -and do the same for the _input match to check if this is a main or subfeature git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4367 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
ba5140b3d8
commit
16408d8665
4 files changed
+6
-7
No files matched your search
+1
-2
@@ -96,8 +96,7 @@ sensors_chip_features sensors_read_dynamic_chip(struct sysfs_device *sysdir)
|
||||
feature.data.compute_mapping = SENSORS_NO_MAPPING;
|
||||
|
||||
if (pmatch[2].rm_so != -1) {
|
||||
if (!strncmp(name + pmatch[2].rm_so, "_input",
|
||||
pmatch[2].rm_eo - pmatch[2].rm_so)) {
|
||||
if (!strcmp(name + pmatch[2].rm_so, "_input")) {
|
||||
int last_match;
|
||||
|
||||
/* copy only the part before the _ */
|
||||
|
||||
Reference in new issue
Block a user