Added experimental support for ITE IT8771E super I/O chips.
authormoel.mich
Thu, 16 Feb 2012 22:10:30 +0000
changeset 3415172a92c5c20
parent 340 600962f8a298
child 342 2486df89b9e5
Added experimental support for ITE IT8771E super I/O chips.
Hardware/LPC/Chip.cs
Hardware/LPC/IT87XX.cs
Hardware/LPC/LPCIO.cs
Hardware/Mainboard/SuperIOHardware.cs
     1.1 --- a/Hardware/LPC/Chip.cs	Tue Feb 14 23:07:55 2012 +0000
     1.2 +++ b/Hardware/LPC/Chip.cs	Thu Feb 16 22:10:30 2012 +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-2011
     1.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2012
     1.9    the Initial Developer. All Rights Reserved.
    1.10  
    1.11    Contributor(s):
    1.12 @@ -57,6 +57,7 @@
    1.13      IT8721F = 0x8721,
    1.14      IT8726F = 0x8726,
    1.15      IT8728F = 0x8728,
    1.16 +    IT8771E = 0x8771,
    1.17      IT8772E = 0x8772,
    1.18  
    1.19      NCT6771F = 0xB470,
    1.20 @@ -95,6 +96,7 @@
    1.21          case Chip.IT8721F: return "ITE IT8721F";
    1.22          case Chip.IT8726F: return "ITE IT8726F";
    1.23          case Chip.IT8728F: return "ITE IT8728F";
    1.24 +        case Chip.IT8771E: return "ITE IT8771E";
    1.25          case Chip.IT8772E: return "ITE IT8772E";
    1.26  
    1.27          case Chip.NCT6771F: return "Nuvoton NCT6771F";
     2.1 --- a/Hardware/LPC/IT87XX.cs	Tue Feb 14 23:07:55 2012 +0000
     2.2 +++ b/Hardware/LPC/IT87XX.cs	Thu Feb 16 22:10:30 2012 +0000
     2.3 @@ -16,7 +16,7 @@
     2.4  
     2.5    The Initial Developer of the Original Code is 
     2.6    Michael Möller <m.moeller@gmx.ch>.
     2.7 -  Portions created by the Initial Developer are Copyright (C) 2009-2011
     2.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2012
     2.9    the Initial Developer. All Rights Reserved.
    2.10  
    2.11    Contributor(s):
    2.12 @@ -102,7 +102,7 @@
    2.13          return;
    2.14  
    2.15        Ring0.WriteIoPort((ushort)(gpioAddress + index), value);
    2.16 -    }
    2.17 +    } 
    2.18  
    2.19      public void SetControl(int index, byte? value) { }   
    2.20  
    2.21 @@ -132,7 +132,8 @@
    2.22        fans = new float?[5];
    2.23  
    2.24        // IT8721F, IT8728F and IT8772E use a 12mV resultion ADC, all others 16mV
    2.25 -      if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8772E) 
    2.26 +      if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8771E 
    2.27 +        || chip == Chip.IT8772E) 
    2.28        {
    2.29          voltageGain = 0.012f;
    2.30        } else {
    2.31 @@ -159,6 +160,7 @@
    2.32            gpioCount = 8;
    2.33            break;
    2.34          case Chip.IT8728F:
    2.35 +        case Chip.IT8771E:
    2.36          case Chip.IT8772E:
    2.37            gpioCount = 0;
    2.38            break;
     3.1 --- a/Hardware/LPC/LPCIO.cs	Tue Feb 14 23:07:55 2012 +0000
     3.2 +++ b/Hardware/LPC/LPCIO.cs	Thu Feb 16 22:10:30 2012 +0000
     3.3 @@ -16,7 +16,7 @@
     3.4  
     3.5    The Initial Developer of the Original Code is 
     3.6    Michael Möller <m.moeller@gmx.ch>.
     3.7 -  Portions created by the Initial Developer are Copyright (C) 2009-2011
     3.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2012
     3.9    the Initial Developer. All Rights Reserved.
    3.10  
    3.11    Contributor(s):
    3.12 @@ -364,6 +364,7 @@
    3.13          case 0x8721: chip = Chip.IT8721F; break;
    3.14          case 0x8726: chip = Chip.IT8726F; break;
    3.15          case 0x8728: chip = Chip.IT8728F; break;
    3.16 +        case 0x8771: chip = Chip.IT8771E; break;
    3.17          case 0x8772: chip = Chip.IT8772E; break;
    3.18          default: chip = Chip.Unknown; break;
    3.19        }
     4.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Tue Feb 14 23:07:55 2012 +0000
     4.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Thu Feb 16 22:10:30 2012 +0000
     4.3 @@ -430,6 +430,7 @@
     4.4  
     4.5          case Chip.IT8721F:
     4.6          case Chip.IT8728F:
     4.7 +        case Chip.IT8771E:
     4.8          case Chip.IT8772E:
     4.9            switch (manufacturer) {
    4.10              case Manufacturer.ECS: