Added initial support for the ITE IT8772E super I/O chip.
authormoel.mich
Tue, 02 Aug 2011 21:05:17 +0000
changeset 31935cda448fc5f
parent 318 bba78bc5b760
child 320 df3493f75225
Added initial support for the ITE IT8772E super I/O chip.
Hardware/LPC/Chip.cs
Hardware/LPC/IT87XX.cs
Hardware/LPC/LPCIO.cs
Hardware/Mainboard/Mainboard.cs
Hardware/Mainboard/Manufacturer.cs
Hardware/Mainboard/Model.cs
Hardware/Mainboard/SMBIOS.cs
Hardware/Mainboard/SuperIOHardware.cs
     1.1 --- a/Hardware/LPC/Chip.cs	Thu Jul 28 21:51:02 2011 +0000
     1.2 +++ b/Hardware/LPC/Chip.cs	Tue Aug 02 21:05:17 2011 +0000
     1.3 @@ -57,6 +57,7 @@
     1.4      IT8721F = 0x8721,
     1.5      IT8726F = 0x8726,
     1.6      IT8728F = 0x8728,
     1.7 +    IT8772E = 0x8772,
     1.8  
     1.9      NCT6771F = 0xB470,
    1.10      NCT6776F = 0xC330,
    1.11 @@ -94,6 +95,7 @@
    1.12          case Chip.IT8721F: return "ITE IT8721F";
    1.13          case Chip.IT8726F: return "ITE IT8726F";
    1.14          case Chip.IT8728F: return "ITE IT8728F";
    1.15 +        case Chip.IT8772E: return "ITE IT8772E";
    1.16  
    1.17          case Chip.NCT6771F: return "Nuvoton NCT6771F";
    1.18          case Chip.NCT6776F: return "Nuvoton NCT6776F";
     2.1 --- a/Hardware/LPC/IT87XX.cs	Thu Jul 28 21:51:02 2011 +0000
     2.2 +++ b/Hardware/LPC/IT87XX.cs	Tue Aug 02 21:05:17 2011 +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-2010
     2.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2011
     2.9    the Initial Developer. All Rights Reserved.
    2.10  
    2.11    Contributor(s):
    2.12 @@ -128,8 +128,9 @@
    2.13        temperatures = new float?[3];
    2.14        fans = new float?[5];
    2.15  
    2.16 -      // The IT8721F uses a 12mV resultion ADC, all others 16mV
    2.17 -      if (chip == Chip.IT8721F || chip == Chip.IT8728F) {
    2.18 +      // IT8721F, IT8728F and IT8772E uses a 12mV resultion ADC, all others 16mV
    2.19 +      if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8772E) 
    2.20 +      {
    2.21          voltageGain = 0.012f;
    2.22        } else {
    2.23          voltageGain = 0.016f;        
    2.24 @@ -155,6 +156,7 @@
    2.25            gpioCount = 8;
    2.26            break;
    2.27          case Chip.IT8728F:
    2.28 +        case Chip.IT8772E:
    2.29            gpioCount = 0;
    2.30            break;
    2.31        }
     3.1 --- a/Hardware/LPC/LPCIO.cs	Thu Jul 28 21:51:02 2011 +0000
     3.2 +++ b/Hardware/LPC/LPCIO.cs	Tue Aug 02 21:05:17 2011 +0000
     3.3 @@ -364,6 +364,7 @@
     3.4          case 0x8721: chip = Chip.IT8721F; break;
     3.5          case 0x8726: chip = Chip.IT8726F; break;
     3.6          case 0x8728: chip = Chip.IT8728F; break;
     3.7 +        case 0x8772: chip = Chip.IT8772E; break;
     3.8          default: chip = Chip.Unknown; break;
     3.9        }
    3.10        if (chip == Chip.Unknown) {
     4.1 --- a/Hardware/Mainboard/Mainboard.cs	Thu Jul 28 21:51:02 2011 +0000
     4.2 +++ b/Hardware/Mainboard/Mainboard.cs	Tue Aug 02 21:05:17 2011 +0000
     4.3 @@ -85,7 +85,7 @@
     4.4          superIOHardware[i] = new SuperIOHardware(this, superIO[i], 
     4.5            smbios.Board != null ? smbios.Board.Manufacturer : 
     4.6            Manufacturer.Unknown, smbios.Board != null ? smbios.Board.Model :
     4.7 -          Model.Unknown, settings);
     4.8 +          Model.Unknown, settings);      
     4.9      }
    4.10  
    4.11      public string Name {
     5.1 --- a/Hardware/Mainboard/Manufacturer.cs	Thu Jul 28 21:51:02 2011 +0000
     5.2 +++ b/Hardware/Mainboard/Manufacturer.cs	Tue Aug 02 21:05:17 2011 +0000
     5.3 @@ -55,6 +55,7 @@
     5.4      Intel,
     5.5      Lenovo,
     5.6      MSI,
     5.7 +    Shuttle,
     5.8      Supermicro,
     5.9      Toshiba,
    5.10      XFX,
     6.1 --- a/Hardware/Mainboard/Model.cs	Thu Jul 28 21:51:02 2011 +0000
     6.2 +++ b/Hardware/Mainboard/Model.cs	Tue Aug 02 21:05:17 2011 +0000
     6.3 @@ -61,7 +61,6 @@
     6.4      LP_DK_P55_T3eH9,
     6.5  
     6.6      // ECS
     6.7 -
     6.8      A890GXM_A,
     6.9  
    6.10      // EVGA
     7.1 --- a/Hardware/Mainboard/SMBIOS.cs	Thu Jul 28 21:51:02 2011 +0000
     7.2 +++ b/Hardware/Mainboard/SMBIOS.cs	Tue Aug 02 21:05:17 2011 +0000
     7.3 @@ -311,7 +311,9 @@
     7.4            case "MICRO-STAR INTERNATIONAL CO., LTD":
     7.5            case "MICRO-STAR INTERNATIONAL CO.,LTD":
     7.6            case "MSI":
     7.7 -            return  Manufacturer.MSI;
     7.8 +            return Manufacturer.MSI;
     7.9 +          case "Shuttle":
    7.10 +            return Manufacturer.Shuttle;
    7.11            case "Supermicro":
    7.12              return Manufacturer.Supermicro;
    7.13            case "TOSHIBA":
     8.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Thu Jul 28 21:51:02 2011 +0000
     8.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Tue Aug 02 21:05:17 2011 +0000
     8.3 @@ -89,7 +89,7 @@
     8.4          case Chip.IT8716F:
     8.5          case Chip.IT8718F:
     8.6          case Chip.IT8720F: 
     8.7 -        case Chip.IT8726F:
     8.8 +        case Chip.IT8726F:        
     8.9            switch (manufacturer) {
    8.10              case Manufacturer.ASUS:
    8.11                switch (model) {
    8.12 @@ -426,6 +426,7 @@
    8.13  
    8.14          case Chip.IT8721F:
    8.15          case Chip.IT8728F:
    8.16 +        case Chip.IT8772E:
    8.17            switch (manufacturer) {
    8.18              case Manufacturer.ECS:
    8.19                switch (model) {