# HG changeset patch # User moel.mich # Date 1266604388 0 # Node ID f940fe2a7c2b12bc30e01e25300fdf003366b771 # Parent ccba498488e81b3d69d6b1b56a2b80f25fb388d7 Added support for Winbond W83627THF super I/O chip. diff -r ccba498488e8 -r f940fe2a7c2b Hardware/LPC/Chip.cs --- a/Hardware/LPC/Chip.cs Fri Feb 19 14:08:56 2010 +0000 +++ b/Hardware/LPC/Chip.cs Fri Feb 19 18:33:08 2010 +0000 @@ -13,8 +13,9 @@ IT8726F = 0x8726, W83627DHG = 0xA020, W83627DHGP = 0xB070, - W83627EHF = 0x8860, + W83627EHF = 0x8860, W83627HF = 0x5200, + W83627THF = 0x8283, W83667HG = 0xA510, W83667HGB = 0xB350, F71862 = 0x0601, diff -r ccba498488e8 -r f940fe2a7c2b Hardware/LPC/LPCGroup.cs --- a/Hardware/LPC/LPCGroup.cs Fri Feb 19 14:08:56 2010 +0000 +++ b/Hardware/LPC/LPCGroup.cs Fri Feb 19 18:33:08 2010 +0000 @@ -160,6 +160,13 @@ logicalDeviceNumber = WINBOND_HARDWARE_MONITOR_LDN; break; } break; + case 0x82: + switch (revision) { + case 0x83: + chip = Chip.W83627THF; + logicalDeviceNumber = WINBOND_HARDWARE_MONITOR_LDN; + break; + } break; case 0x88: switch (revision & 0xF0) { case 0x60: @@ -217,6 +224,7 @@ case Chip.W83627DHGP: case Chip.W83627EHF: case Chip.W83627HF: + case Chip.W83627THF: case Chip.W83667HG: case Chip.W83667HGB: W836XX w836XX = new W836XX(chip, revision, address); diff -r ccba498488e8 -r f940fe2a7c2b Hardware/LPC/LPCHardware.cs --- a/Hardware/LPC/LPCHardware.cs Fri Feb 19 14:08:56 2010 +0000 +++ b/Hardware/LPC/LPCHardware.cs Fri Feb 19 18:33:08 2010 +0000 @@ -63,6 +63,7 @@ case Chip.W83627DHGP: this.name = "Winbond W83627DHG-P"; break; case Chip.W83627EHF: this.name = "Winbond W83627EHF"; break; case Chip.W83627HF: this.name = "Winbond W83627HF"; break; + case Chip.W83627THF: this.name = "Winbond W83627THF"; break; case Chip.W83667HG: this.name = "Winbond W83667HG"; break; case Chip.W83667HGB: this.name = "Winbond W83667HG-B"; break; } diff -r ccba498488e8 -r f940fe2a7c2b Hardware/LPC/W836XX.cs --- a/Hardware/LPC/W836XX.cs Fri Feb 19 14:08:56 2010 +0000 +++ b/Hardware/LPC/W836XX.cs Fri Feb 19 18:33:08 2010 +0000 @@ -65,7 +65,7 @@ // Hardware Monitor Registers private const byte VOLTAGE_BASE_REG = 0x20; - private const byte BANK_SELECT_REGISTER = 0x04E; + private const byte BANK_SELECT_REGISTER = 0x4E; private const byte VENDOR_ID_REGISTER = 0x4F; private const byte TEMPERATURE_BASE_REG = 0x50; private const byte TEMPERATURE_SYS_REG = 0x27; @@ -115,8 +115,9 @@ voltages[1] = new Sensor("+3.3V", 3, SensorType.Voltage, this); voltages[2] = new Sensor("Battery", 7, SensorType.Voltage, this); break; - case Chip.W83627HF: - fanNames = new string[] { "Fan #1", "Fan #2", "Fan #3" }; + case Chip.W83627HF: + case Chip.W83627THF: + fanNames = new string[] { "System", "CPU", "Auxiliary" }; voltageGains = new float[] { 2, 1, 2, 1, 1, 1, 1, 2 }; voltages = new Sensor[3]; voltages[0] = new Sensor("CPU VCore", 0, SensorType.Voltage, this); diff -r ccba498488e8 -r f940fe2a7c2b Properties/AssemblyInfo.cs --- a/Properties/AssemblyInfo.cs Fri Feb 19 14:08:56 2010 +0000 +++ b/Properties/AssemblyInfo.cs Fri Feb 19 18:33:08 2010 +0000 @@ -69,5 +69,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.1.21.4")] -[assembly: AssemblyFileVersion("0.1.21.4")] +[assembly: AssemblyVersion("0.1.22.0")] +[assembly: AssemblyFileVersion("0.1.22.0")]