Hardware/Mainboard/SuperIOHardware.cs
changeset 177 510f27ad65ac
parent 176 c16fd81b520a
child 182 4801e9eaf979
     1.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Mon Sep 06 19:53:13 2010 +0000
     1.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Tue Sep 07 17:52:43 2010 +0000
     1.3 @@ -67,7 +67,7 @@
     1.4          case Chip.IT8712F:
     1.5          case Chip.IT8716F:
     1.6          case Chip.IT8718F:
     1.7 -        case Chip.IT8720F:        
     1.8 +        case Chip.IT8720F: 
     1.9          case Chip.IT8726F:
    1.10            switch (manufacturer) {
    1.11              case Manufacturer.ASUS:
    1.12 @@ -323,19 +323,57 @@
    1.13            break;
    1.14  
    1.15          case Chip.IT8721F:
    1.16 -          v.Add(new Voltage("Voltage #1", 0, true));
    1.17 -          v.Add(new Voltage("Voltage #2", 1, true));
    1.18 -          v.Add(new Voltage("Voltage #3", 2, true));
    1.19 -          v.Add(new Voltage("Analog +3.3V", 3, 10, 10, 0, true));
    1.20 -          v.Add(new Voltage("Voltage #5", 4, true));
    1.21 -          v.Add(new Voltage("Voltage #6", 5, true));
    1.22 -          v.Add(new Voltage("Voltage #7", 6, true));
    1.23 -          v.Add(new Voltage("Standby +3.3V", 7, 10, 10, 0, true));
    1.24 -          v.Add(new Voltage("VBat", 8, 10, 10, 0));
    1.25 -          for (int i = 0; i < superIO.Temperatures.Length; i++)
    1.26 -            t.Add(new Temperature("Temperature #" + (i + 1), i));
    1.27 -          for (int i = 0; i < superIO.Fans.Length; i++)
    1.28 -            f.Add(new Fan("Fan #" + (i + 1), i));
    1.29 +          switch (manufacturer) {
    1.30 +            case Manufacturer.ECS:
    1.31 +              switch (model) {
    1.32 +                case Model.A890GXM_A: // IT8721F
    1.33 +                  v.Add(new Voltage("CPU VCore", 0));
    1.34 +                  v.Add(new Voltage("VDIMM", 1));
    1.35 +                  v.Add(new Voltage("NB Voltage", 2));
    1.36 +                  v.Add(new Voltage("Analog +3.3V", 3, 10, 10, 0));
    1.37 +                  // v.Add(new Voltage("VDIMM", 6, true));
    1.38 +                  v.Add(new Voltage("Standby +3.3V", 7, 10, 10, 0));
    1.39 +                  v.Add(new Voltage("VBat", 8, 10, 10, 0));
    1.40 +                  t.Add(new Temperature("CPU", 0));
    1.41 +                  t.Add(new Temperature("System", 1));
    1.42 +                  t.Add(new Temperature("Northbridge", 2));
    1.43 +                  f.Add(new Fan("CPU Fan", 0));
    1.44 +                  f.Add(new Fan("System Fan", 1));
    1.45 +                  f.Add(new Fan("Power Fan", 2));
    1.46 +                  break;
    1.47 +                default:
    1.48 +                  v.Add(new Voltage("Voltage #1", 0, true));
    1.49 +                  v.Add(new Voltage("Voltage #2", 1, true));
    1.50 +                  v.Add(new Voltage("Voltage #3", 2, true));
    1.51 +                  v.Add(new Voltage("Analog +3.3V", 3, 10, 10, 0, true));
    1.52 +                  v.Add(new Voltage("Voltage #5", 4, true));
    1.53 +                  v.Add(new Voltage("Voltage #6", 5, true));
    1.54 +                  v.Add(new Voltage("Voltage #7", 6, true));
    1.55 +                  v.Add(new Voltage("Standby +3.3V", 7, 10, 10, 0, true));
    1.56 +                  v.Add(new Voltage("VBat", 8, 10, 10, 0));
    1.57 +                  for (int i = 0; i < superIO.Temperatures.Length; i++)
    1.58 +                    t.Add(new Temperature("Temperature #" + (i + 1), i));
    1.59 +                  for (int i = 0; i < superIO.Fans.Length; i++)
    1.60 +                    f.Add(new Fan("Fan #" + (i + 1), i));
    1.61 +                  break;
    1.62 +              }
    1.63 +              break;
    1.64 +            default:
    1.65 +              v.Add(new Voltage("Voltage #1", 0, true));
    1.66 +              v.Add(new Voltage("Voltage #2", 1, true));
    1.67 +              v.Add(new Voltage("Voltage #3", 2, true));
    1.68 +              v.Add(new Voltage("Analog +3.3V", 3, 10, 10, 0, true));
    1.69 +              v.Add(new Voltage("Voltage #5", 4, true));
    1.70 +              v.Add(new Voltage("Voltage #6", 5, true));
    1.71 +              v.Add(new Voltage("Voltage #7", 6, true));
    1.72 +              v.Add(new Voltage("Standby +3.3V", 7, 10, 10, 0, true));
    1.73 +              v.Add(new Voltage("VBat", 8, 10, 10, 0));
    1.74 +              for (int i = 0; i < superIO.Temperatures.Length; i++)
    1.75 +                t.Add(new Temperature("Temperature #" + (i + 1), i));
    1.76 +              for (int i = 0; i < superIO.Fans.Length; i++)
    1.77 +                f.Add(new Fan("Fan #" + (i + 1), i));
    1.78 +              break;
    1.79 +          }
    1.80            break;
    1.81            
    1.82          case Chip.F71858: