mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-18 19:30:54 +00:00
w83781d driver doesn't support ASB100 anymore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2313 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
72531a8512
commit
03f3e08d48
3 files changed
+11
-25
No files matched your search
@@ -26,7 +26,6 @@
|
||||
Chip #vin #fanin #pwm #temp wchipid vendid i2c ISA
|
||||
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 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
|
||||
@@ -856,15 +855,13 @@ static int w83781d_detect(struct i2c_adapter *adapter, int address,
|
||||
val2 = w83781d_read_value(new_client, W83781D_REG_CHIPMAN);
|
||||
/* Check for Winbond or Asus ID if in bank 0 */
|
||||
if ((!(val1 & 0x07)) &&
|
||||
(((!(val1 & 0x80)) && (val2 != 0xa3) && (val2 != 0xc3)
|
||||
&& (val2 != 0x94))
|
||||
|| ((val1 & 0x80) && (val2 != 0x5c) && (val2 != 0x12)
|
||||
&& (val2 != 0x06)))) {
|
||||
(((!(val1 & 0x80)) && (val2 != 0xa3) && (val2 != 0xc3))
|
||||
|| ((val1 & 0x80) && (val2 != 0x5c) && (val2 != 0x12)))) {
|
||||
err = -ENODEV;
|
||||
goto ERROR1;
|
||||
}
|
||||
/* If Winbond SMBus, check address at 0x48. Asus doesn't support
|
||||
except maybe (hopefully) for the as99127f rev.2 */
|
||||
/* If Winbond SMBus, check address at 0x48.
|
||||
Asus doesn't support, except for the as99127f rev.2 */
|
||||
if ((!is_isa) && (((!(val1 & 0x80)) && (val2 == 0xa3)) ||
|
||||
((val1 & 0x80) && (val2 == 0x5c)))) {
|
||||
if (w83781d_read_value
|
||||
@@ -888,7 +885,7 @@ static int w83781d_detect(struct i2c_adapter *adapter, int address,
|
||||
val2 = w83781d_read_value(new_client, W83781D_REG_CHIPMAN);
|
||||
if (val2 == 0x5c)
|
||||
vendid = winbond;
|
||||
else if ((val2 == 0x12) || (val2 == 0x06))
|
||||
else if (val2 == 0x12)
|
||||
vendid = asus;
|
||||
else {
|
||||
err = -ENODEV;
|
||||
|
||||
Reference in new issue
Block a user