mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-08 16:11:26 +00:00
EMC6D102 support. Patch from Rafael Avila de Espindola.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2957 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
357caef4be
commit
d21508f62f
4 files changed
+4
-1
No files matched your search
@@ -5579,6 +5579,7 @@ sensors_chip_features sensors_chip_features_list[] =
|
||||
{ SENSORS_LM85B_PREFIX, lm85_features },
|
||||
{ SENSORS_LM85C_PREFIX, lm85_features },
|
||||
{ SENSORS_EMC6D100_PREFIX, lm85_features },
|
||||
{ SENSORS_EMC6D102_PREFIX, lm85_features },
|
||||
{ SENSORS_ADM1027_PREFIX, adm1027_features },
|
||||
{ SENSORS_ADT7463_PREFIX, adm1027_features },
|
||||
{ SENSORS_LM83_PREFIX, lm83_features },
|
||||
|
||||
@@ -372,6 +372,7 @@
|
||||
#define SENSORS_ADM1027_PREFIX "adm1027"
|
||||
#define SENSORS_ADT7463_PREFIX "adt7463"
|
||||
#define SENSORS_EMC6D100_PREFIX "emc6d100"
|
||||
#define SENSORS_EMC6D102_PREFIX "emc6d102"
|
||||
|
||||
#define SENSORS_ADM1027_ALARM_MASK 1 /* RW -- alarm_mask */
|
||||
#define SENSORS_ADM1027_FAN1_PPR 2 /* RW -- fan1_ppr */
|
||||
|
||||
@@ -994,7 +994,7 @@ use subs qw(mtp008_detect lm78_detect lm78_isa_detect lm78_alias_detect
|
||||
i2c_detect => sub { lm85_detect 0x41, @_},
|
||||
},
|
||||
{
|
||||
name => "SMSC EMC6D100 or EMC6D101",
|
||||
name => "SMSC EMC6D100, EMC6D101 or EMC6D102",
|
||||
driver => "lm85",
|
||||
i2c_addrs => [0x2c..0x2e],
|
||||
i2c_detect => sub { lm85_detect 0x5c, @_},
|
||||
|
||||
@@ -347,6 +347,7 @@ struct match matches[] = {
|
||||
{ "adm1027", print_lm85 },
|
||||
{ "adt7463", print_lm85 },
|
||||
{ "emc6d100", print_lm85 },
|
||||
{ "emc6d102", print_lm85 },
|
||||
{ "lm87", print_lm87 },
|
||||
{ "gl518sm", print_gl518 },
|
||||
{ "gl520sm", print_gl520 },
|
||||
|
||||
Reference in new issue
Block a user