mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-05 22:08:19 +00:00
Add support for the SMSC EMC6D103
This commit is contained in:
1 parent
ae38fa55da
commit
9cd0cb32fa
5 files changed
+9
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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 },
|
||||
|
||||
Reference in new issue
Block a user