2
0
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:
Frodo Looijaard
1999-02-24 01:16:40 +00:00
parent cf8f722ab7
commit 2fd866bf42
2 changed files with 2 additions and 0 deletions

View File

@@ -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)

View File

@@ -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)