Added more revisions for the W83627THF, as there seems to exist chips with revision 0x82, 0x84, and 0x85 as well.
authormoel.mich
Wed, 30 Jun 2010 08:52:53 +0000
changeset 14717f982ee3a46
parent 146 d27bde956836
child 148 abed9987d993
Added more revisions for the W83627THF, as there seems to exist chips with revision 0x82, 0x84, and 0x85 as well.
Hardware/LPC/Chip.cs
Hardware/LPC/LPCIO.cs
     1.1 --- a/Hardware/LPC/Chip.cs	Tue Jun 29 07:44:55 2010 +0000
     1.2 +++ b/Hardware/LPC/Chip.cs	Wed Jun 30 08:52:53 2010 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4      W83627DHGP = 0xB070,
     1.5      W83627EHF = 0x8800,    
     1.6      W83627HF = 0x5200,
     1.7 -    W83627THF = 0x8283,
     1.8 +    W83627THF = 0x8280,
     1.9      W83667HG = 0xA510,
    1.10      W83667HGB = 0xB350,
    1.11      W83687THF = 0x8541,
     2.1 --- a/Hardware/LPC/LPCIO.cs	Tue Jun 29 07:44:55 2010 +0000
     2.2 +++ b/Hardware/LPC/LPCIO.cs	Wed Jun 30 08:52:53 2010 +0000
     2.3 @@ -185,8 +185,8 @@
     2.4                  break;             
     2.5              } break;
     2.6            case 0x82:
     2.7 -            switch (revision) {
     2.8 -              case 0x83:
     2.9 +            switch (revision & 0xF0) {
    2.10 +              case 0x80:
    2.11                  chip = Chip.W83627THF;
    2.12                  logicalDeviceNumber = WINBOND_HARDWARE_MONITOR_LDN;
    2.13                  break;