Hardware/Mainboard/SuperIOHardware.cs
changeset 132 680ed54e05ca
parent 130 80065ab20b84
child 133 9ad699538c89
     1.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Sat Jun 05 09:40:57 2010 +0000
     1.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Sat Jun 05 11:15:16 2010 +0000
     1.3 @@ -238,9 +238,9 @@
     1.4            break;
     1.5            
     1.6          case Chip.F71858:
     1.7 -          v.Add(new Voltage("VCC3V", 0));
     1.8 -          v.Add(new Voltage("VSB3V", 1));
     1.9 -          v.Add(new Voltage("Battery", 2));
    1.10 +          v.Add(new Voltage("VCC3V", 0, 150, 150, 0));
    1.11 +          v.Add(new Voltage("VSB3V", 1, 150, 150, 0));
    1.12 +          v.Add(new Voltage("Battery", 2, 150, 150, 0));
    1.13            for (int i = 0; i < superIO.Temperatures.Length; i++)
    1.14              t.Add(new Temperature("Temperature #" + (i + 1), i));
    1.15            for (int i = 0; i < superIO.Fans.Length; i++)
    1.16 @@ -251,19 +251,59 @@
    1.17          case Chip.F71882:
    1.18          case Chip.F71889ED: 
    1.19          case Chip.F71889F:
    1.20 -          v.Add(new Voltage("VCC3V", 0));
    1.21 -          v.Add(new Voltage("CPU VCore", 1));
    1.22 -          v.Add(new Voltage("Voltage #3", 2, true));
    1.23 -          v.Add(new Voltage("Voltage #4", 3, true));
    1.24 -          v.Add(new Voltage("Voltage #5", 4, true));
    1.25 -          v.Add(new Voltage("Voltage #6", 5, true));
    1.26 -          v.Add(new Voltage("Voltage #7", 6, true));
    1.27 -          v.Add(new Voltage("VSB3V", 7));
    1.28 -          v.Add(new Voltage("Battery", 8));
    1.29 -          for (int i = 0; i < superIO.Temperatures.Length; i++)
    1.30 -            t.Add(new Temperature("Temperature #" + (i + 1), i));
    1.31 -          for (int i = 0; i < superIO.Fans.Length; i++)
    1.32 -            f.Add(new Fan("Fan #" + (i + 1), i));
    1.33 +          switch (manufacturer) {
    1.34 +            case Manufacturer.EVGA:
    1.35 +              switch (model) {
    1.36 +                case Model.X58_SLI_Classified:
    1.37 +                  v.Add(new Voltage("VCC3V", 0, 150, 150, 0));
    1.38 +                  v.Add(new Voltage("CPU VCore", 1, 47, 100, 0));
    1.39 +                  v.Add(new Voltage("DIMM", 2, 47, 100, 0));
    1.40 +                  v.Add(new Voltage("CPU VTT", 3, 24, 100, 0));
    1.41 +                  v.Add(new Voltage("IOH Vcore", 4, 24, 100, 0));
    1.42 +                  v.Add(new Voltage("+5V", 5, 51, 12, 0));
    1.43 +                  v.Add(new Voltage("+12V", 6, 56, 6.8f, 0));
    1.44 +                  v.Add(new Voltage("3VSB", 7, 150, 150, 0));
    1.45 +                  v.Add(new Voltage("VBat", 8, 150, 150, 0));
    1.46 +                  t.Add(new Temperature("CPU", 0));
    1.47 +                  t.Add(new Temperature("VREG", 1));
    1.48 +                  t.Add(new Temperature("System", 2));
    1.49 +                  f.Add(new Fan("CPU Fan", 0));
    1.50 +                  f.Add(new Fan("Power Fan", 1));
    1.51 +                  f.Add(new Fan("Chassis Fan", 2));
    1.52 +                  break;
    1.53 +                default:
    1.54 +                  v.Add(new Voltage("VCC3V", 0, 150, 150, 0));
    1.55 +                  v.Add(new Voltage("CPU VCore", 1));
    1.56 +                  v.Add(new Voltage("Voltage #3", 2, true));
    1.57 +                  v.Add(new Voltage("Voltage #4", 3, true));
    1.58 +                  v.Add(new Voltage("Voltage #5", 4, true));
    1.59 +                  v.Add(new Voltage("Voltage #6", 5, true));
    1.60 +                  v.Add(new Voltage("Voltage #7", 6, true));
    1.61 +                  v.Add(new Voltage("VSB3V", 7, 150, 150, 0));
    1.62 +                  v.Add(new Voltage("VBat", 8, 150, 150, 0));
    1.63 +                  for (int i = 0; i < superIO.Temperatures.Length; i++)
    1.64 +                    t.Add(new Temperature("Temperature #" + (i + 1), i));
    1.65 +                  for (int i = 0; i < superIO.Fans.Length; i++)
    1.66 +                    f.Add(new Fan("Fan #" + (i + 1), i));
    1.67 +                  break;
    1.68 +              }
    1.69 +              break;
    1.70 +            default:
    1.71 +              v.Add(new Voltage("VCC3V", 0, 150, 150, 0));
    1.72 +              v.Add(new Voltage("CPU VCore", 1));
    1.73 +              v.Add(new Voltage("Voltage #3", 2, true));
    1.74 +              v.Add(new Voltage("Voltage #4", 3, true));
    1.75 +              v.Add(new Voltage("Voltage #5", 4, true));
    1.76 +              v.Add(new Voltage("Voltage #6", 5, true));
    1.77 +              v.Add(new Voltage("Voltage #7", 6, true));
    1.78 +              v.Add(new Voltage("VSB3V", 7, 150, 150, 0));
    1.79 +              v.Add(new Voltage("VBat", 8, 150, 150, 0));
    1.80 +              for (int i = 0; i < superIO.Temperatures.Length; i++)
    1.81 +                t.Add(new Temperature("Temperature #" + (i + 1), i));
    1.82 +              for (int i = 0; i < superIO.Fans.Length; i++)
    1.83 +                f.Add(new Fan("Fan #" + (i + 1), i));
    1.84 +              break;
    1.85 +          }
    1.86            break;
    1.87  
    1.88          case Chip.W83627EHF: