# HG changeset patch # User moel.mich # Date 1312319117 0 # Node ID 35cda448fc5fd7da82bf1591074e8cee956007e9 # Parent bba78bc5b760f6ebd62bb99b822b25109c7bc35b Added initial support for the ITE IT8772E super I/O chip. diff -r bba78bc5b760 -r 35cda448fc5f Hardware/LPC/Chip.cs --- a/Hardware/LPC/Chip.cs Thu Jul 28 21:51:02 2011 +0000 +++ b/Hardware/LPC/Chip.cs Tue Aug 02 21:05:17 2011 +0000 @@ -57,6 +57,7 @@ IT8721F = 0x8721, IT8726F = 0x8726, IT8728F = 0x8728, + IT8772E = 0x8772, NCT6771F = 0xB470, NCT6776F = 0xC330, @@ -94,6 +95,7 @@ case Chip.IT8721F: return "ITE IT8721F"; case Chip.IT8726F: return "ITE IT8726F"; case Chip.IT8728F: return "ITE IT8728F"; + case Chip.IT8772E: return "ITE IT8772E"; case Chip.NCT6771F: return "Nuvoton NCT6771F"; case Chip.NCT6776F: return "Nuvoton NCT6776F"; diff -r bba78bc5b760 -r 35cda448fc5f Hardware/LPC/IT87XX.cs --- a/Hardware/LPC/IT87XX.cs Thu Jul 28 21:51:02 2011 +0000 +++ b/Hardware/LPC/IT87XX.cs Tue Aug 02 21:05:17 2011 +0000 @@ -16,7 +16,7 @@ The Initial Developer of the Original Code is Michael Möller . - Portions created by the Initial Developer are Copyright (C) 2009-2010 + Portions created by the Initial Developer are Copyright (C) 2009-2011 the Initial Developer. All Rights Reserved. Contributor(s): @@ -128,8 +128,9 @@ temperatures = new float?[3]; fans = new float?[5]; - // The IT8721F uses a 12mV resultion ADC, all others 16mV - if (chip == Chip.IT8721F || chip == Chip.IT8728F) { + // IT8721F, IT8728F and IT8772E uses a 12mV resultion ADC, all others 16mV + if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8772E) + { voltageGain = 0.012f; } else { voltageGain = 0.016f; @@ -155,6 +156,7 @@ gpioCount = 8; break; case Chip.IT8728F: + case Chip.IT8772E: gpioCount = 0; break; } diff -r bba78bc5b760 -r 35cda448fc5f Hardware/LPC/LPCIO.cs --- a/Hardware/LPC/LPCIO.cs Thu Jul 28 21:51:02 2011 +0000 +++ b/Hardware/LPC/LPCIO.cs Tue Aug 02 21:05:17 2011 +0000 @@ -364,6 +364,7 @@ case 0x8721: chip = Chip.IT8721F; break; case 0x8726: chip = Chip.IT8726F; break; case 0x8728: chip = Chip.IT8728F; break; + case 0x8772: chip = Chip.IT8772E; break; default: chip = Chip.Unknown; break; } if (chip == Chip.Unknown) { diff -r bba78bc5b760 -r 35cda448fc5f Hardware/Mainboard/Mainboard.cs --- a/Hardware/Mainboard/Mainboard.cs Thu Jul 28 21:51:02 2011 +0000 +++ b/Hardware/Mainboard/Mainboard.cs Tue Aug 02 21:05:17 2011 +0000 @@ -85,7 +85,7 @@ superIOHardware[i] = new SuperIOHardware(this, superIO[i], smbios.Board != null ? smbios.Board.Manufacturer : Manufacturer.Unknown, smbios.Board != null ? smbios.Board.Model : - Model.Unknown, settings); + Model.Unknown, settings); } public string Name { diff -r bba78bc5b760 -r 35cda448fc5f Hardware/Mainboard/Manufacturer.cs --- a/Hardware/Mainboard/Manufacturer.cs Thu Jul 28 21:51:02 2011 +0000 +++ b/Hardware/Mainboard/Manufacturer.cs Tue Aug 02 21:05:17 2011 +0000 @@ -55,6 +55,7 @@ Intel, Lenovo, MSI, + Shuttle, Supermicro, Toshiba, XFX, diff -r bba78bc5b760 -r 35cda448fc5f Hardware/Mainboard/Model.cs --- a/Hardware/Mainboard/Model.cs Thu Jul 28 21:51:02 2011 +0000 +++ b/Hardware/Mainboard/Model.cs Tue Aug 02 21:05:17 2011 +0000 @@ -61,7 +61,6 @@ LP_DK_P55_T3eH9, // ECS - A890GXM_A, // EVGA diff -r bba78bc5b760 -r 35cda448fc5f Hardware/Mainboard/SMBIOS.cs --- a/Hardware/Mainboard/SMBIOS.cs Thu Jul 28 21:51:02 2011 +0000 +++ b/Hardware/Mainboard/SMBIOS.cs Tue Aug 02 21:05:17 2011 +0000 @@ -311,7 +311,9 @@ case "MICRO-STAR INTERNATIONAL CO., LTD": case "MICRO-STAR INTERNATIONAL CO.,LTD": case "MSI": - return Manufacturer.MSI; + return Manufacturer.MSI; + case "Shuttle": + return Manufacturer.Shuttle; case "Supermicro": return Manufacturer.Supermicro; case "TOSHIBA": diff -r bba78bc5b760 -r 35cda448fc5f Hardware/Mainboard/SuperIOHardware.cs --- a/Hardware/Mainboard/SuperIOHardware.cs Thu Jul 28 21:51:02 2011 +0000 +++ b/Hardware/Mainboard/SuperIOHardware.cs Tue Aug 02 21:05:17 2011 +0000 @@ -89,7 +89,7 @@ case Chip.IT8716F: case Chip.IT8718F: case Chip.IT8720F: - case Chip.IT8726F: + case Chip.IT8726F: switch (manufacturer) { case Manufacturer.ASUS: switch (model) { @@ -426,6 +426,7 @@ case Chip.IT8721F: case Chip.IT8728F: + case Chip.IT8772E: switch (manufacturer) { case Manufacturer.ECS: switch (model) {