2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-01 14:55:27 +00:00

(mds) Fix detection for as99127f (hopefully)

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@620 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
1999-11-05 04:08:07 +00:00
parent c5fe440f59
commit bce5bc715f
2 changed files with 2 additions and 2 deletions

View File

@@ -1307,7 +1307,7 @@ sub w83781d_detect
return if $chip == 1 and $reg1 != 0x30;
return if $chip == 2 and $reg1 != 0x40;
return if $chip == 3 and $reg1 != 0x20;
return if $chip == 4 and $reg1 != 0x20;
return if $chip == 4 and $reg1 != 0x30;
$reg1 = i2c_smbus_read_byte_data($file,0x4a);
@res = (8);
push @res, ($reg1 & 0x07) + 0x48 unless $reg1 & 0x08;