mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 13:57:41 +00:00
Winbond detection fix.
It should now correctly prefer the Winbond above the LM78 for ISA probes. I hope. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@271 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -1140,6 +1140,7 @@ sub w83781d_isa_detect
|
||||
return if $chip == 0 and ($reg1 & 0xfe) != 0x10;
|
||||
return if $chip == 1 and $reg1 != 0x30;
|
||||
return if $chip == 2 and $reg1 != 0x40;
|
||||
return 8;
|
||||
}
|
||||
|
||||
# $_[0]: Chip to detect (0 = Revision 0x00, 1 = Revision 0x80)
|
||||
|
@@ -1140,6 +1140,7 @@ sub w83781d_isa_detect
|
||||
return if $chip == 0 and ($reg1 & 0xfe) != 0x10;
|
||||
return if $chip == 1 and $reg1 != 0x30;
|
||||
return if $chip == 2 and $reg1 != 0x40;
|
||||
return 8;
|
||||
}
|
||||
|
||||
# $_[0]: Chip to detect (0 = Revision 0x00, 1 = Revision 0x80)
|
||||
|
Reference in New Issue
Block a user