Add support for the SMSC EMC6D103

This commit is contained in:
Jean Delvare committed 2013-09-12 18:17:31 +00:00
1 parent ae38fa55da
commit 9cd0cb32fa
5 files changed
+9 -2

No files matched your search

+4 -2
View File
@@ -1549,12 +1549,14 @@ void print_lm85(const sensors_chip_name *name)
char *label;
double cur, min, max;
int alarms, alarm_mask = 0, valid;
int is1027, is7463, is6d100, xadc;
int is1027, is7463, is6d100, is6d102, xadc;
is7463 = !strcmp(name->prefix, "adt7463");
is1027 = is7463 || !strcmp(name->prefix, "adm1027");
is6d100 = !strcmp(name->prefix,"emc6d100") ;
xadc = is1027 || !strcmp(name->prefix, "emc6d102");
is6d102 = !strcmp(name->prefix, "emc6d102") ||
!strcmp(name->prefix, "emc6d103");
xadc = is1027 || is6d102;
if (!sensors_get_feature(*name,SENSORS_LM85_ALARMS,&cur))
alarms = cur + 0.5;
+1
View File
@@ -369,6 +369,7 @@ static struct match matches[] = {
{ "adt7463", print_lm85 },
{ "emc6d100", print_lm85 },
{ "emc6d102", print_lm85 },
{ "emc6d103", print_lm85 },
{ "lm87", print_lm87 },
{ "gl518sm", print_gl518 },
{ "gl520sm", print_gl520 },