Added support for Winbond W83627THF super I/O chip.
authormoel.mich
Fri, 19 Feb 2010 18:33:08 +0000
changeset 54f940fe2a7c2b
parent 53 ccba498488e8
child 55 898935080fd6
Added support for Winbond W83627THF super I/O chip.
Hardware/LPC/Chip.cs
Hardware/LPC/LPCGroup.cs
Hardware/LPC/LPCHardware.cs
Hardware/LPC/W836XX.cs
Properties/AssemblyInfo.cs
     1.1 --- a/Hardware/LPC/Chip.cs	Fri Feb 19 14:08:56 2010 +0000
     1.2 +++ b/Hardware/LPC/Chip.cs	Fri Feb 19 18:33:08 2010 +0000
     1.3 @@ -13,8 +13,9 @@
     1.4      IT8726F = 0x8726,
     1.5      W83627DHG = 0xA020,
     1.6      W83627DHGP = 0xB070,
     1.7 -    W83627EHF = 0x8860,
     1.8 +    W83627EHF = 0x8860,    
     1.9      W83627HF = 0x5200,
    1.10 +    W83627THF = 0x8283,
    1.11      W83667HG = 0xA510,
    1.12      W83667HGB = 0xB350,
    1.13      F71862 = 0x0601, 
     2.1 --- a/Hardware/LPC/LPCGroup.cs	Fri Feb 19 14:08:56 2010 +0000
     2.2 +++ b/Hardware/LPC/LPCGroup.cs	Fri Feb 19 18:33:08 2010 +0000
     2.3 @@ -160,6 +160,13 @@
     2.4                  logicalDeviceNumber = WINBOND_HARDWARE_MONITOR_LDN;
     2.5                  break;             
     2.6              } break;
     2.7 +          case 0x82:
     2.8 +            switch (revision) {
     2.9 +              case 0x83:
    2.10 +                chip = Chip.W83627THF;
    2.11 +                logicalDeviceNumber = WINBOND_HARDWARE_MONITOR_LDN;
    2.12 +                break;
    2.13 +            } break;
    2.14            case 0x88:
    2.15              switch (revision & 0xF0) {
    2.16                case 0x60:
    2.17 @@ -217,6 +224,7 @@
    2.18              case Chip.W83627DHGP:
    2.19              case Chip.W83627EHF:
    2.20              case Chip.W83627HF:
    2.21 +            case Chip.W83627THF:
    2.22              case Chip.W83667HG:
    2.23              case Chip.W83667HGB:
    2.24                W836XX w836XX = new W836XX(chip, revision, address);
     3.1 --- a/Hardware/LPC/LPCHardware.cs	Fri Feb 19 14:08:56 2010 +0000
     3.2 +++ b/Hardware/LPC/LPCHardware.cs	Fri Feb 19 18:33:08 2010 +0000
     3.3 @@ -63,6 +63,7 @@
     3.4          case Chip.W83627DHGP: this.name = "Winbond W83627DHG-P"; break;
     3.5          case Chip.W83627EHF: this.name = "Winbond W83627EHF"; break;
     3.6          case Chip.W83627HF: this.name = "Winbond W83627HF"; break;
     3.7 +        case Chip.W83627THF: this.name = "Winbond W83627THF"; break;
     3.8          case Chip.W83667HG: this.name = "Winbond W83667HG"; break;
     3.9          case Chip.W83667HGB: this.name = "Winbond W83667HG-B"; break;
    3.10        }
     4.1 --- a/Hardware/LPC/W836XX.cs	Fri Feb 19 14:08:56 2010 +0000
     4.2 +++ b/Hardware/LPC/W836XX.cs	Fri Feb 19 18:33:08 2010 +0000
     4.3 @@ -65,7 +65,7 @@
     4.4  
     4.5      // Hardware Monitor Registers
     4.6      private const byte VOLTAGE_BASE_REG = 0x20;
     4.7 -    private const byte BANK_SELECT_REGISTER = 0x04E;
     4.8 +    private const byte BANK_SELECT_REGISTER = 0x4E;
     4.9      private const byte VENDOR_ID_REGISTER = 0x4F;
    4.10      private const byte TEMPERATURE_BASE_REG = 0x50;
    4.11      private const byte TEMPERATURE_SYS_REG = 0x27;    
    4.12 @@ -115,8 +115,9 @@
    4.13            voltages[1] = new Sensor("+3.3V", 3, SensorType.Voltage, this);
    4.14            voltages[2] = new Sensor("Battery", 7, SensorType.Voltage, this);
    4.15            break;
    4.16 -        case Chip.W83627HF: 
    4.17 -          fanNames = new string[] { "Fan #1", "Fan #2", "Fan #3" };
    4.18 +        case Chip.W83627HF:
    4.19 +        case Chip.W83627THF:
    4.20 +          fanNames = new string[] { "System", "CPU", "Auxiliary" };
    4.21            voltageGains = new float[] { 2, 1, 2, 1, 1, 1, 1, 2 };
    4.22            voltages = new Sensor[3];
    4.23            voltages[0] = new Sensor("CPU VCore", 0, SensorType.Voltage, this);
     5.1 --- a/Properties/AssemblyInfo.cs	Fri Feb 19 14:08:56 2010 +0000
     5.2 +++ b/Properties/AssemblyInfo.cs	Fri Feb 19 18:33:08 2010 +0000
     5.3 @@ -69,5 +69,5 @@
     5.4  // You can specify all the values or you can default the Build and Revision Numbers 
     5.5  // by using the '*' as shown below:
     5.6  // [assembly: AssemblyVersion("1.0.*")]
     5.7 -[assembly: AssemblyVersion("0.1.21.4")]
     5.8 -[assembly: AssemblyFileVersion("0.1.21.4")]
     5.9 +[assembly: AssemblyVersion("0.1.22.0")]
    5.10 +[assembly: AssemblyFileVersion("0.1.22.0")]