Added experimental support for ITE IT8771E super I/O chips.

This commit is contained in:
Michael Möller
2012-02-16 22:10:30 +00:00
parent f8867d671a
commit 395b464a30
4 changed files with 11 additions and 5 deletions
+3 -1
View File
@@ -16,7 +16,7 @@
The Initial Developer of the Original Code is
Michael Möller <m.moeller@gmx.ch>.
Portions created by the Initial Developer are Copyright (C) 2009-2011
Portions created by the Initial Developer are Copyright (C) 2009-2012
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -57,6 +57,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
IT8721F = 0x8721,
IT8726F = 0x8726,
IT8728F = 0x8728,
IT8771E = 0x8771,
IT8772E = 0x8772,
NCT6771F = 0xB470,
@@ -95,6 +96,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
case Chip.IT8721F: return "ITE IT8721F";
case Chip.IT8726F: return "ITE IT8726F";
case Chip.IT8728F: return "ITE IT8728F";
case Chip.IT8771E: return "ITE IT8771E";
case Chip.IT8772E: return "ITE IT8772E";
case Chip.NCT6771F: return "Nuvoton NCT6771F";
+5 -3
View File
@@ -16,7 +16,7 @@
The Initial Developer of the Original Code is
Michael Möller <m.moeller@gmx.ch>.
Portions created by the Initial Developer are Copyright (C) 2009-2011
Portions created by the Initial Developer are Copyright (C) 2009-2012
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -102,7 +102,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
return;
Ring0.WriteIoPort((ushort)(gpioAddress + index), value);
}
}
public void SetControl(int index, byte? value) { }
@@ -132,7 +132,8 @@ namespace OpenHardwareMonitor.Hardware.LPC {
fans = new float?[5];
// IT8721F, IT8728F and IT8772E use a 12mV resultion ADC, all others 16mV
if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8772E)
if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8771E
|| chip == Chip.IT8772E)
{
voltageGain = 0.012f;
} else {
@@ -159,6 +160,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
gpioCount = 8;
break;
case Chip.IT8728F:
case Chip.IT8771E:
case Chip.IT8772E:
gpioCount = 0;
break;
+2 -1
View File
@@ -16,7 +16,7 @@
The Initial Developer of the Original Code is
Michael Möller <m.moeller@gmx.ch>.
Portions created by the Initial Developer are Copyright (C) 2009-2011
Portions created by the Initial Developer are Copyright (C) 2009-2012
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -364,6 +364,7 @@ namespace OpenHardwareMonitor.Hardware.LPC {
case 0x8721: chip = Chip.IT8721F; break;
case 0x8726: chip = Chip.IT8726F; break;
case 0x8728: chip = Chip.IT8728F; break;
case 0x8771: chip = Chip.IT8771E; break;
case 0x8772: chip = Chip.IT8772E; break;
default: chip = Chip.Unknown; break;
}
+1
View File
@@ -430,6 +430,7 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
case Chip.IT8721F:
case Chip.IT8728F:
case Chip.IT8771E:
case Chip.IT8772E:
switch (manufacturer) {
case Manufacturer.ECS: