# HG changeset patch # User moel.mich # Date 1304257035 0 # Node ID 5c80f37c0330d6e30abad202d1ee057edaa9adb8 # Parent 04905193c432f9a6ec938bdb1b33481263e8a13f Added first experimental support for the IT8728F super I/O chip. diff -r 04905193c432 -r 5c80f37c0330 Hardware/HexStringArray.cs --- a/Hardware/HexStringArray.cs Sat Apr 30 21:01:54 2011 +0000 +++ b/Hardware/HexStringArray.cs Sun May 01 13:37:15 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): @@ -46,7 +46,7 @@ StringSplitOptions.RemoveEmptyEntries); foreach (string line in lines) { - string[] array = line.Split(new[] { ' ' }, + string[] array = line.Split(new[] { ' ', '\t' }, StringSplitOptions.RemoveEmptyEntries); if (array.Length == 0) continue; diff -r 04905193c432 -r 5c80f37c0330 Hardware/LPC/Chip.cs --- a/Hardware/LPC/Chip.cs Sat Apr 30 21:01:54 2011 +0000 +++ b/Hardware/LPC/Chip.cs Sun May 01 13:37:15 2011 +0000 @@ -55,6 +55,7 @@ IT8720F = 0x8720, IT8721F = 0x8721, IT8726F = 0x8726, + IT8728F = 0x8728, NCT6771F = 0xB470, NCT6776F = 0xC330, @@ -86,10 +87,11 @@ case Chip.IT8712F: return "ITE IT8712F"; case Chip.IT8716F: return "ITE IT8716F"; - case Chip.IT8718F: return "ITE IT8718F"; + case Chip.IT8718F: return "ITE IT8718F"; + case Chip.IT8720F: return "ITE IT8720F"; case Chip.IT8721F: return "ITE IT8721F"; - case Chip.IT8720F: return "ITE IT8720F"; case Chip.IT8726F: return "ITE IT8726F"; + case Chip.IT8728F: return "ITE IT8728F"; case Chip.NCT6771F: return "Nuvoton NCT6771F"; case Chip.NCT6776F: return "Nuvoton NCT6776F"; diff -r 04905193c432 -r 5c80f37c0330 Hardware/LPC/IT87XX.cs --- a/Hardware/LPC/IT87XX.cs Sat Apr 30 21:01:54 2011 +0000 +++ b/Hardware/LPC/IT87XX.cs Sun May 01 13:37:15 2011 +0000 @@ -129,7 +129,7 @@ fans = new float?[5]; // The IT8721F uses a 12mV resultion ADC, all others 16mV - if (chip == Chip.IT8721F) { + if (chip == Chip.IT8721F || chip == Chip.IT8728F) { voltageGain = 0.012f; } else { voltageGain = 0.016f; @@ -154,6 +154,9 @@ case Chip.IT8721F: gpioCount = 8; break; + case Chip.IT8728F: + gpioCount = 0; + break; } } diff -r 04905193c432 -r 5c80f37c0330 Hardware/LPC/LPCIO.cs --- a/Hardware/LPC/LPCIO.cs Sat Apr 30 21:01:54 2011 +0000 +++ b/Hardware/LPC/LPCIO.cs Sun May 01 13:37:15 2011 +0000 @@ -355,6 +355,7 @@ case 0x8720: chip = Chip.IT8720F; break; case 0x8721: chip = Chip.IT8721F; break; case 0x8726: chip = Chip.IT8726F; break; + case 0x8728: chip = Chip.IT8728F; break; default: chip = Chip.Unknown; break; } if (chip == Chip.Unknown) { diff -r 04905193c432 -r 5c80f37c0330 Hardware/Mainboard/SuperIOHardware.cs --- a/Hardware/Mainboard/SuperIOHardware.cs Sat Apr 30 21:01:54 2011 +0000 +++ b/Hardware/Mainboard/SuperIOHardware.cs Sun May 01 13:37:15 2011 +0000 @@ -425,6 +425,7 @@ break; case Chip.IT8721F: + case Chip.IT8728F: switch (manufacturer) { case Manufacturer.ECS: switch (model) { @@ -464,7 +465,7 @@ v.Add(new Voltage("Voltage #1", 0, true)); v.Add(new Voltage("Voltage #2", 1, true)); v.Add(new Voltage("Voltage #3", 2, true)); - v.Add(new Voltage("Analog +3.3V", 3, 10, 10, 0, true)); + v.Add(new Voltage("Voltage #4", 3, true)); v.Add(new Voltage("Voltage #5", 4, true)); v.Add(new Voltage("Voltage #6", 5, true)); v.Add(new Voltage("Voltage #7", 6, true)); diff -r 04905193c432 -r 5c80f37c0330 Properties/AssemblyVersion.cs --- a/Properties/AssemblyVersion.cs Sat Apr 30 21:01:54 2011 +0000 +++ b/Properties/AssemblyVersion.cs Sun May 01 13:37:15 2011 +0000 @@ -37,5 +37,5 @@ using System.Reflection; -[assembly: AssemblyVersion("0.3.0.1")] -[assembly: AssemblyInformationalVersion("0.3.0.1 Alpha")] \ No newline at end of file +[assembly: AssemblyVersion("0.3.0.2")] +[assembly: AssemblyInformationalVersion("0.3.0.2 Alpha")] \ No newline at end of file