mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-05 08:45:26 +00:00
Solved a bug which made the detect program unrunnable, as reported by
Mark. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@355 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -1216,6 +1216,7 @@ sub w83781d_alias_detect
|
||||
sub w83781d_isa_detect
|
||||
{
|
||||
my ($chip,$addr) = @_ ;
|
||||
my ($reg1,$reg2);
|
||||
my $val = inb ($addr + 1);
|
||||
return if inb ($addr + 2) != $val or inb ($addr + 3) != $val or
|
||||
inb ($addr + 7) != $val;
|
||||
|
Reference in New Issue
Block a user