Added first experimental support for the IT8728F super I/O chip.
authormoel.mich
Sun, 01 May 2011 13:37:15 +0000
changeset 2775c80f37c0330
parent 276 04905193c432
child 278 803f98bf1418
Added first experimental support for the IT8728F super I/O chip.
Hardware/HexStringArray.cs
Hardware/LPC/Chip.cs
Hardware/LPC/IT87XX.cs
Hardware/LPC/LPCIO.cs
Hardware/Mainboard/SuperIOHardware.cs
Properties/AssemblyVersion.cs
     1.1 --- a/Hardware/HexStringArray.cs	Sat Apr 30 21:01:54 2011 +0000
     1.2 +++ b/Hardware/HexStringArray.cs	Sun May 01 13:37:15 2011 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  
     1.5    The Initial Developer of the Original Code is 
     1.6    Michael Möller <m.moeller@gmx.ch>.
     1.7 -  Portions created by the Initial Developer are Copyright (C) 2009-2010
     1.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2011
     1.9    the Initial Developer. All Rights Reserved.
    1.10  
    1.11    Contributor(s):
    1.12 @@ -46,7 +46,7 @@
    1.13          StringSplitOptions.RemoveEmptyEntries);
    1.14  
    1.15        foreach (string line in lines) {
    1.16 -        string[] array = line.Split(new[] { ' ' }, 
    1.17 +        string[] array = line.Split(new[] { ' ', '\t' }, 
    1.18            StringSplitOptions.RemoveEmptyEntries);
    1.19          if (array.Length == 0)
    1.20            continue; 
     2.1 --- a/Hardware/LPC/Chip.cs	Sat Apr 30 21:01:54 2011 +0000
     2.2 +++ b/Hardware/LPC/Chip.cs	Sun May 01 13:37:15 2011 +0000
     2.3 @@ -55,6 +55,7 @@
     2.4      IT8720F = 0x8720,
     2.5      IT8721F = 0x8721,
     2.6      IT8726F = 0x8726,
     2.7 +    IT8728F = 0x8728,
     2.8  
     2.9      NCT6771F = 0xB470,
    2.10      NCT6776F = 0xC330,
    2.11 @@ -86,10 +87,11 @@
    2.12  
    2.13          case Chip.IT8712F: return "ITE IT8712F";
    2.14          case Chip.IT8716F: return "ITE IT8716F";
    2.15 -        case Chip.IT8718F: return "ITE IT8718F";
    2.16 +        case Chip.IT8718F: return "ITE IT8718F";        
    2.17 +        case Chip.IT8720F: return "ITE IT8720F";
    2.18          case Chip.IT8721F: return "ITE IT8721F";
    2.19 -        case Chip.IT8720F: return "ITE IT8720F";
    2.20          case Chip.IT8726F: return "ITE IT8726F";
    2.21 +        case Chip.IT8728F: return "ITE IT8728F";
    2.22  
    2.23          case Chip.NCT6771F: return "Nuvoton NCT6771F";
    2.24          case Chip.NCT6776F: return "Nuvoton NCT6776F";
     3.1 --- a/Hardware/LPC/IT87XX.cs	Sat Apr 30 21:01:54 2011 +0000
     3.2 +++ b/Hardware/LPC/IT87XX.cs	Sun May 01 13:37:15 2011 +0000
     3.3 @@ -129,7 +129,7 @@
     3.4        fans = new float?[5];
     3.5  
     3.6        // The IT8721F uses a 12mV resultion ADC, all others 16mV
     3.7 -      if (chip == Chip.IT8721F) {
     3.8 +      if (chip == Chip.IT8721F || chip == Chip.IT8728F) {
     3.9          voltageGain = 0.012f;
    3.10        } else {
    3.11          voltageGain = 0.016f;        
    3.12 @@ -154,6 +154,9 @@
    3.13          case Chip.IT8721F:
    3.14            gpioCount = 8;
    3.15            break;
    3.16 +        case Chip.IT8728F:
    3.17 +          gpioCount = 0;
    3.18 +          break;
    3.19        }
    3.20      }
    3.21  
     4.1 --- a/Hardware/LPC/LPCIO.cs	Sat Apr 30 21:01:54 2011 +0000
     4.2 +++ b/Hardware/LPC/LPCIO.cs	Sun May 01 13:37:15 2011 +0000
     4.3 @@ -355,6 +355,7 @@
     4.4          case 0x8720: chip = Chip.IT8720F; break;
     4.5          case 0x8721: chip = Chip.IT8721F; break;
     4.6          case 0x8726: chip = Chip.IT8726F; break;
     4.7 +        case 0x8728: chip = Chip.IT8728F; break;
     4.8          default: chip = Chip.Unknown; break;
     4.9        }
    4.10        if (chip == Chip.Unknown) {
     5.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Sat Apr 30 21:01:54 2011 +0000
     5.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Sun May 01 13:37:15 2011 +0000
     5.3 @@ -425,6 +425,7 @@
     5.4            break;
     5.5  
     5.6          case Chip.IT8721F:
     5.7 +        case Chip.IT8728F:
     5.8            switch (manufacturer) {
     5.9              case Manufacturer.ECS:
    5.10                switch (model) {
    5.11 @@ -464,7 +465,7 @@
    5.12                v.Add(new Voltage("Voltage #1", 0, true));
    5.13                v.Add(new Voltage("Voltage #2", 1, true));
    5.14                v.Add(new Voltage("Voltage #3", 2, true));
    5.15 -              v.Add(new Voltage("Analog +3.3V", 3, 10, 10, 0, true));
    5.16 +              v.Add(new Voltage("Voltage #4", 3, true));
    5.17                v.Add(new Voltage("Voltage #5", 4, true));
    5.18                v.Add(new Voltage("Voltage #6", 5, true));
    5.19                v.Add(new Voltage("Voltage #7", 6, true));
     6.1 --- a/Properties/AssemblyVersion.cs	Sat Apr 30 21:01:54 2011 +0000
     6.2 +++ b/Properties/AssemblyVersion.cs	Sun May 01 13:37:15 2011 +0000
     6.3 @@ -37,5 +37,5 @@
     6.4  
     6.5  using System.Reflection;
     6.6  
     6.7 -[assembly: AssemblyVersion("0.3.0.1")]
     6.8 -[assembly: AssemblyInformationalVersion("0.3.0.1 Alpha")]
     6.9 \ No newline at end of file
    6.10 +[assembly: AssemblyVersion("0.3.0.2")]
    6.11 +[assembly: AssemblyInformationalVersion("0.3.0.2 Alpha")]
    6.12 \ No newline at end of file