Hardware/Mainboard/SuperIOHardware.cs
changeset 220 e51749b206ee
parent 202 551243a66b32
child 221 a950ba30d4dd
     1.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Sun Oct 10 16:57:11 2010 +0000
     1.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Mon Oct 11 20:37:37 2010 +0000
     1.3 @@ -444,25 +444,67 @@
     1.4            }
     1.5            break;
     1.6  
     1.7 -        case Chip.W83627EHF:          
     1.8 -          v.Add(new Voltage("CPU VCore", 0));
     1.9 -          v.Add(new Voltage("Voltage #2", 1, true));
    1.10 -          v.Add(new Voltage("AVCC", 2, 34, 34));
    1.11 -          v.Add(new Voltage("3VCC", 3, 34, 34));
    1.12 -          v.Add(new Voltage("Voltage #5", 4, true));
    1.13 -          v.Add(new Voltage("Voltage #6", 5, true));
    1.14 -          v.Add(new Voltage("Voltage #7", 6, true));
    1.15 -          v.Add(new Voltage("3VSB", 7, 34, 34));
    1.16 -          v.Add(new Voltage("VBAT", 8, 34, 34));
    1.17 -          v.Add(new Voltage("Voltage #10", 9, true));
    1.18 -          t.Add(new Temperature("CPU", 0));
    1.19 -          t.Add(new Temperature("Auxiliary", 1));
    1.20 -          t.Add(new Temperature("System", 2));
    1.21 -          f.Add(new Fan("System Fan", 0));
    1.22 -          f.Add(new Fan("CPU Fan", 1));
    1.23 -          f.Add(new Fan("Auxiliary Fan", 2));
    1.24 -          f.Add(new Fan("CPU Fan #2", 3));
    1.25 -          f.Add(new Fan("Auxiliary Fan #2", 4));
    1.26 +        case Chip.W83627EHF:
    1.27 +          switch (manufacturer) {
    1.28 +            case Manufacturer.ASRock:
    1.29 +              switch (model) {
    1.30 +                case Model.AOD790GX_128M: // W83627EHF
    1.31 +                  v.Add(new Voltage("CPU VCore", 0));
    1.32 +                  v.Add(new Voltage("Analog +3.3V", 2, 34, 34));
    1.33 +                  v.Add(new Voltage("+3.3V", 4, 10, 10));
    1.34 +                  v.Add(new Voltage("+5V", 5, 20, 10));
    1.35 +                  v.Add(new Voltage("+12V", 6, 28, 5));
    1.36 +                  v.Add(new Voltage("Standby +3.3V", 7, 34, 34));
    1.37 +                  v.Add(new Voltage("VBAT", 8, 34, 34));
    1.38 +                  t.Add(new Temperature("CPU", 0));
    1.39 +                  t.Add(new Temperature("Motherboard", 2));
    1.40 +                  f.Add(new Fan("Chassis Fan", 0));
    1.41 +                  f.Add(new Fan("CPU Fan", 1));
    1.42 +                  f.Add(new Fan("NB Fan", 2));
    1.43 +                  f.Add(new Fan("Power Fan", 4));
    1.44 +                  break;
    1.45 +                default:
    1.46 +                  v.Add(new Voltage("CPU VCore", 0));
    1.47 +                  v.Add(new Voltage("Voltage #2", 1, true));
    1.48 +                  v.Add(new Voltage("AVCC", 2, 34, 34));
    1.49 +                  v.Add(new Voltage("3VCC", 3, 34, 34));
    1.50 +                  v.Add(new Voltage("Voltage #5", 4, true));
    1.51 +                  v.Add(new Voltage("Voltage #6", 5, true));
    1.52 +                  v.Add(new Voltage("Voltage #7", 6, true));
    1.53 +                  v.Add(new Voltage("3VSB", 7, 34, 34));
    1.54 +                  v.Add(new Voltage("VBAT", 8, 34, 34));
    1.55 +                  v.Add(new Voltage("Voltage #10", 9, true));
    1.56 +                  t.Add(new Temperature("CPU", 0));
    1.57 +                  t.Add(new Temperature("Auxiliary", 1));
    1.58 +                  t.Add(new Temperature("System", 2));
    1.59 +                  f.Add(new Fan("System Fan", 0));
    1.60 +                  f.Add(new Fan("CPU Fan", 1));
    1.61 +                  f.Add(new Fan("Auxiliary Fan", 2));
    1.62 +                  f.Add(new Fan("CPU Fan #2", 3));
    1.63 +                  f.Add(new Fan("Auxiliary Fan #2", 4));
    1.64 +                  break;
    1.65 +              } break;
    1.66 +            default:
    1.67 +              v.Add(new Voltage("CPU VCore", 0));
    1.68 +              v.Add(new Voltage("Voltage #2", 1, true));
    1.69 +              v.Add(new Voltage("AVCC", 2, 34, 34));
    1.70 +              v.Add(new Voltage("3VCC", 3, 34, 34));
    1.71 +              v.Add(new Voltage("Voltage #5", 4, true));
    1.72 +              v.Add(new Voltage("Voltage #6", 5, true));
    1.73 +              v.Add(new Voltage("Voltage #7", 6, true));
    1.74 +              v.Add(new Voltage("3VSB", 7, 34, 34));
    1.75 +              v.Add(new Voltage("VBAT", 8, 34, 34));
    1.76 +              v.Add(new Voltage("Voltage #10", 9, true));
    1.77 +              t.Add(new Temperature("CPU", 0));
    1.78 +              t.Add(new Temperature("Auxiliary", 1));
    1.79 +              t.Add(new Temperature("System", 2));
    1.80 +              f.Add(new Fan("System Fan", 0));
    1.81 +              f.Add(new Fan("CPU Fan", 1));
    1.82 +              f.Add(new Fan("Auxiliary Fan", 2));
    1.83 +              f.Add(new Fan("CPU Fan #2", 3));
    1.84 +              f.Add(new Fan("Auxiliary Fan #2", 4));
    1.85 +              break;
    1.86 +          }
    1.87            break;
    1.88          case Chip.W83627DHG: 
    1.89          case Chip.W83627DHGP: