2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 05:48:07 +00:00

No error on missing it87 in3, in5, in6 or in7. These inputs are shared

with other functions on some IT87xxF variants so the Linux 2.6 driver may
not present them forever.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4093 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare 2006-08-12 18:03:13 +00:00
parent 79a7acacec
commit c8ae77bdc6

View File

@ -3539,8 +3539,7 @@ void print_it87(const sensors_chip_name *name)
printf("%+6.2f V (min = %+6.2f V, max = %+6.2f V) %s\n",
cur,min,max,alarms&IT87_ALARM_IN3?"ALARM":"");
}
} else
printf("ERROR: Can't get IN3 data!\n");
}
free(label);
if (!sensors_get_label_and_valid(*name,SENSORS_IT87_IN4,&label,&valid) &&
!sensors_get_feature(*name,SENSORS_IT87_IN4,&cur) &&
@ -3563,8 +3562,7 @@ void print_it87(const sensors_chip_name *name)
printf("%+6.2f V (min = %+6.2f V, max = %+6.2f V) %s\n",
cur,min,max,alarms&IT87_ALARM_IN5?"ALARM":"");
}
} else
printf("ERROR: Can't get IN5 data!\n");
}
free(label);
if (!sensors_get_label_and_valid(*name,SENSORS_IT87_IN6,&label,&valid) &&
!sensors_get_feature(*name,SENSORS_IT87_IN6,&cur) &&
@ -3575,8 +3573,7 @@ void print_it87(const sensors_chip_name *name)
printf("%+6.2f V (min = %+6.2f V, max = %+6.2f V) %s\n",
cur,min,max,alarms&IT87_ALARM_IN6?"ALARM":"");
}
} else
printf("ERROR: Can't get IN6 data!\n");
}
free(label);
if (!sensors_get_label_and_valid(*name,SENSORS_IT87_IN7,&label,&valid) &&
!sensors_get_feature(*name,SENSORS_IT87_IN7,&cur) &&
@ -3587,8 +3584,7 @@ void print_it87(const sensors_chip_name *name)
printf("%+6.2f V (min = %+6.2f V, max = %+6.2f V) %s\n",
cur,min,max,alarms&IT87_ALARM_IN7?"ALARM":"");
}
} else
printf("ERROR: Can't get IN7 data!\n");
}
free(label);
if (!sensors_get_label_and_valid(*name,SENSORS_IT87_IN8,&label,&valid) &&
!sensors_get_feature(*name,SENSORS_IT87_IN8,&cur)) {