Corrected ADM1021 and MAX1617 detection

Address 0x2b was also scanned, though it was not in the address range


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@366 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-04-07 19:08:47 +00:00
1 parent 46683648bd
commit 5aebed32c6
1 file changed
+2 -2
+2 -2
View File
@@ -210,13 +210,13 @@ use subs qw(lm78_detect lm78_isa_detect lm78_alias_detect lm75_detect
{
name => "Analog Devices ADM1021",
driver => "adm1021",
i2c_addrs => [0x18..0x1b,0x29..0x2b,0x4c..0x4e],
i2c_addrs => [0x18..0x1a,0x29..0x2b,0x4c..0x4e],
i2c_detect => sub { adm1021_detect 0, @_ },
},
{
name => "Maxim MAX1617",
driver => "adm1021",
i2c_addrs => [0x18..0x1b,0x29..0x2b,0x4c..0x4e],
i2c_addrs => [0x18..0x1a,0x29..0x2b,0x4c..0x4e],
i2c_detect => sub { adm1021_detect 1, @_ },
},
{