From 6068029628f21baa2f75e185d49230e52e2b9f6e Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 20 Aug 2008 11:27:43 +0000 Subject: [PATCH] The TI TMP411 has the same device ID as the TMP401. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5312 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 4cb9493a..259d4846 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -1140,7 +1140,7 @@ use vars qw(@pci_adapters_sis5595 @pci_adapters_sis645 @pci_adapters_sis96x); i2c_detect => sub { lm90_detect(8, @_); }, }, { - name => "Texas Instruments TMP401", + name => "Texas Instruments TMP401/TMP411", driver => "tmp401", i2c_addrs => [0x4c], i2c_detect => sub { lm90_detect(9, @_); }, @@ -4004,7 +4004,7 @@ sub lm83_detect # $_[0]: Chip to detect # (0 = LM90, 1 = LM89/LM99, 2 = LM86, 3 = ADM1032, 4 = MAX6654/MAX6690, # 5 = ADT7461, 6 = MAX6646/MAX6647/MAX6648/MAX6649/MAX6692, -# 7 = MAX6680/MAX6681, 8 = W83L771W/G, 9 = TI TMP401) +# 7 = MAX6680/MAX6681, 8 = W83L771W/G, 9 = TI TMP401/TMP411) # $_[1]: A reference to the file descriptor to access this chip. # $_[2]: Address # Returns: undef if not detected, 6 or 8 if detected. @@ -4087,7 +4087,7 @@ sub lm90_detect return if ($conf & 0x1B) != 0; return if $rate > 0x0F; return if $mid != 0x55; # Texas Instruments - return if $cid != 0x11; # TMP401 + return if $cid != 0x11; # TMP401/TMP411 return 8; } return;