From d1127e18a516de4bce52cfae8a5af5e16f1c96cd Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Wed, 9 Feb 2011 17:44:05 +0000 Subject: [PATCH] Fixed address ranges checked for SMSC EMC1403 and EMC1404 git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5916 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + prog/detect/sensors-detect | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 5400e09b..a0ef6767 100644 --- a/CHANGES +++ b/CHANGES @@ -24,6 +24,7 @@ SVN HEAD Add detection of Nuvoton NCT5571D, NCT5577D and NCT6776F Add detection of SMSC EMC1002, EMC1033, EMC1046, EMC1047, EMC1072, EMC1073, EMC1074, EMC1402, and EMC1424 + Fixed address ranges checked for SMSC EMC1403 and EMC1404. 3.2.0 (2010-10-10) libsensors: Increase MAX_SENSORS_PER_TYPE to 24 diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 31b393ec..1d63d841 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -1257,17 +1257,17 @@ use vars qw(@i2c_adapter_names); }, { name => "SMSC EMC1403", driver => "emc1403", - i2c_addrs => [0x18, 0x2a, 0x4c, 0x4d], + i2c_addrs => [0x18, 0x29, 0x4c, 0x4d], i2c_detect => sub { emc1403_detect(@_, 0); }, }, { name => "SMSC EMC1404", driver => "to-be-written", # emc1403 - i2c_addrs => [0x18, 0x2a, 0x4c, 0x4d], + i2c_addrs => [0x18, 0x29, 0x4c, 0x4d], i2c_detect => sub { emc1403_detect(@_, 1); }, }, { name => "SMSC EMC1423", driver => "emc1403", - i2c_addrs => [0x18, 0x2a, 0x4c, 0x4d], + i2c_addrs => [0x4c], i2c_detect => sub { emc1403_detect(@_, 3); }, }, { name => "SMSC EMC1424",