2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

Two bug fixes

* DDC only looked for on 0x50, as other addresses are treated as
  sub-addrs;
* LM78-J again displays right driver (oops...)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@680 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard
1999-12-30 02:07:24 +00:00
parent 31bb93646b
commit d92cb07a98

View File

@@ -252,7 +252,7 @@ use subs qw(lm78_detect lm78_isa_detect lm78_alias_detect lm75_detect
} ,
{
name => "National Semiconductor LM78-J",
driver => "",
driver => "lm78",
i2c_addrs => [0x00..0x68,0x6a..0x7f],
i2c_driver_addrs => [0x20..0x2f],
i2c_detect => sub { lm78_detect 1, @_ },
@@ -437,7 +437,7 @@ use subs qw(lm78_detect lm78_isa_detect lm78_alias_detect lm75_detect
{
name => "DDC monitor",
driver => "ddc-none-available-yet",
i2c_addrs => [0x50..0x57],
i2c_addrs => [0x50],
i2c_detect => sub { ddcmonitor_detect @_ },
},
);