Added support for Winbond W83627THF super I/O chip.

This commit is contained in:
Michael Möller 2010-02-19 18:33:08 +00:00
parent a60755377f
commit d77bf5d686
5 changed files with 17 additions and 6 deletions

View File

@ -15,6 +15,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
W83627DHGP = 0xB070,
W83627EHF = 0x8860,
W83627HF = 0x5200,
W83627THF = 0x8283,
W83667HG = 0xA510,
W83667HGB = 0xB350,
F71862 = 0x0601,

View File

@ -160,6 +160,13 @@ namespace OpenHardwareMonitor.Hardware.LPC {
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 @@ namespace OpenHardwareMonitor.Hardware.LPC {
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);

View File

@ -63,6 +63,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
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;
}

View File

@ -65,7 +65,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
// 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;
@ -116,7 +116,8 @@ namespace OpenHardwareMonitor.Hardware.LPC {
voltages[2] = new Sensor("Battery", 7, SensorType.Voltage, this);
break;
case Chip.W83627HF:
fanNames = new string[] { "Fan #1", "Fan #2", "Fan #3" };
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);

View File

@ -69,5 +69,5 @@ using System.Runtime.InteropServices;
// 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")]