mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 05:48:07 +00:00
Fix W83627HF detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2025 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
parent
6597650205
commit
8b82c4d22d
@ -27,7 +27,7 @@
|
||||
as99127f 7 3 1? 3 0x31 0x12c3 yes no
|
||||
as99127f rev.2 (type name = as99127f) 0x31 0x5ca3 yes no
|
||||
asb100 "bach" (type_name = as99127f) 0x31 0x0694 yes no
|
||||
w83627hf 9 3 2 3 0x20 0x5ca3 yes yes(LPC)
|
||||
w83627hf 9 3 2 3 0x21 0x5ca3 yes yes(LPC)
|
||||
w83697hf 8 2 2 2 0x60 0x5ca3 no yes(LPC)
|
||||
w83781d 7 3 0 3 0x10-1 0x5ca3 yes yes
|
||||
w83782d 9 3 2-4 3 0x30 0x5ca3 yes yes
|
||||
@ -1012,7 +1012,7 @@ static int w83781d_detect(struct i2c_adapter *adapter, int address,
|
||||
kind = w83782d;
|
||||
else if (val1 == 0x40 && vendid == winbond && !is_isa && address == 0x2d)
|
||||
kind = w83783s;
|
||||
else if (val1 == 0x20 && vendid == winbond)
|
||||
else if (val1 == 0x21 && vendid == winbond)
|
||||
kind = w83627hf;
|
||||
else if (val1 == 0x70 && vendid == winbond && address >= 0x2c)
|
||||
kind = w83791d;
|
||||
|
@ -2687,7 +2687,7 @@ sub w83781d_detect
|
||||
return if $chip == 0 and ($reg1 != 0x10 && $reg1 != 0x11);
|
||||
return if $chip == 1 and $reg1 != 0x30;
|
||||
return if $chip == 2 and $reg1 != 0x40;
|
||||
return if $chip == 3 and $reg1 != 0x20;
|
||||
return if $chip == 3 and $reg1 != 0x21;
|
||||
return if $chip == 4 and $reg1 != 0x31;
|
||||
return if $chip == 5 and $reg1 != 0x31;
|
||||
return if $chip == 6 and $reg1 != 0x31;
|
||||
|
Loading…
x
Reference in New Issue
Block a user