Added a mainboard specific configuration for the ASRock AOD790GX-128M
authormoel.mich
Mon, 11 Oct 2010 20:37:37 +0000
changeset 220e51749b206ee
parent 219 ce04404774d6
child 221 a950ba30d4dd
Added a mainboard specific configuration for the ASRock AOD790GX-128M
Hardware/Mainboard/Model.cs
Hardware/Mainboard/SMBIOS.cs
Hardware/Mainboard/SuperIOHardware.cs
     1.1 --- a/Hardware/Mainboard/Model.cs	Sun Oct 10 16:57:11 2010 +0000
     1.2 +++ b/Hardware/Mainboard/Model.cs	Mon Oct 11 20:37:37 2010 +0000
     1.3 @@ -40,6 +40,7 @@
     1.4    internal enum Model {
     1.5      // ASRock
     1.6      _880GMH_USB3,
     1.7 +    AOD790GX_128M,
     1.8  
     1.9      // ASUS
    1.10      Crosshair_III_Formula,
     2.1 --- a/Hardware/Mainboard/SMBIOS.cs	Sun Oct 10 16:57:11 2010 +0000
     2.2 +++ b/Hardware/Mainboard/SMBIOS.cs	Mon Oct 11 20:37:37 2010 +0000
     2.3 @@ -295,6 +295,8 @@
     2.4          switch (name) {
     2.5            case "880GMH/USB3":
     2.6              return Model._880GMH_USB3;
     2.7 +          case "ASRock AOD790GX/128M":
     2.8 +            return Model.AOD790GX_128M;
     2.9            case "Crosshair III Formula":
    2.10              return Model.Crosshair_III_Formula;
    2.11            case "M2N-SLI DELUXE":
     3.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Sun Oct 10 16:57:11 2010 +0000
     3.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Mon Oct 11 20:37:37 2010 +0000
     3.3 @@ -444,25 +444,67 @@
     3.4            }
     3.5            break;
     3.6  
     3.7 -        case Chip.W83627EHF:          
     3.8 -          v.Add(new Voltage("CPU VCore", 0));
     3.9 -          v.Add(new Voltage("Voltage #2", 1, true));
    3.10 -          v.Add(new Voltage("AVCC", 2, 34, 34));
    3.11 -          v.Add(new Voltage("3VCC", 3, 34, 34));
    3.12 -          v.Add(new Voltage("Voltage #5", 4, true));
    3.13 -          v.Add(new Voltage("Voltage #6", 5, true));
    3.14 -          v.Add(new Voltage("Voltage #7", 6, true));
    3.15 -          v.Add(new Voltage("3VSB", 7, 34, 34));
    3.16 -          v.Add(new Voltage("VBAT", 8, 34, 34));
    3.17 -          v.Add(new Voltage("Voltage #10", 9, true));
    3.18 -          t.Add(new Temperature("CPU", 0));
    3.19 -          t.Add(new Temperature("Auxiliary", 1));
    3.20 -          t.Add(new Temperature("System", 2));
    3.21 -          f.Add(new Fan("System Fan", 0));
    3.22 -          f.Add(new Fan("CPU Fan", 1));
    3.23 -          f.Add(new Fan("Auxiliary Fan", 2));
    3.24 -          f.Add(new Fan("CPU Fan #2", 3));
    3.25 -          f.Add(new Fan("Auxiliary Fan #2", 4));
    3.26 +        case Chip.W83627EHF:
    3.27 +          switch (manufacturer) {
    3.28 +            case Manufacturer.ASRock:
    3.29 +              switch (model) {
    3.30 +                case Model.AOD790GX_128M: // W83627EHF
    3.31 +                  v.Add(new Voltage("CPU VCore", 0));
    3.32 +                  v.Add(new Voltage("Analog +3.3V", 2, 34, 34));
    3.33 +                  v.Add(new Voltage("+3.3V", 4, 10, 10));
    3.34 +                  v.Add(new Voltage("+5V", 5, 20, 10));
    3.35 +                  v.Add(new Voltage("+12V", 6, 28, 5));
    3.36 +                  v.Add(new Voltage("Standby +3.3V", 7, 34, 34));
    3.37 +                  v.Add(new Voltage("VBAT", 8, 34, 34));
    3.38 +                  t.Add(new Temperature("CPU", 0));
    3.39 +                  t.Add(new Temperature("Motherboard", 2));
    3.40 +                  f.Add(new Fan("Chassis Fan", 0));
    3.41 +                  f.Add(new Fan("CPU Fan", 1));
    3.42 +                  f.Add(new Fan("NB Fan", 2));
    3.43 +                  f.Add(new Fan("Power Fan", 4));
    3.44 +                  break;
    3.45 +                default:
    3.46 +                  v.Add(new Voltage("CPU VCore", 0));
    3.47 +                  v.Add(new Voltage("Voltage #2", 1, true));
    3.48 +                  v.Add(new Voltage("AVCC", 2, 34, 34));
    3.49 +                  v.Add(new Voltage("3VCC", 3, 34, 34));
    3.50 +                  v.Add(new Voltage("Voltage #5", 4, true));
    3.51 +                  v.Add(new Voltage("Voltage #6", 5, true));
    3.52 +                  v.Add(new Voltage("Voltage #7", 6, true));
    3.53 +                  v.Add(new Voltage("3VSB", 7, 34, 34));
    3.54 +                  v.Add(new Voltage("VBAT", 8, 34, 34));
    3.55 +                  v.Add(new Voltage("Voltage #10", 9, true));
    3.56 +                  t.Add(new Temperature("CPU", 0));
    3.57 +                  t.Add(new Temperature("Auxiliary", 1));
    3.58 +                  t.Add(new Temperature("System", 2));
    3.59 +                  f.Add(new Fan("System Fan", 0));
    3.60 +                  f.Add(new Fan("CPU Fan", 1));
    3.61 +                  f.Add(new Fan("Auxiliary Fan", 2));
    3.62 +                  f.Add(new Fan("CPU Fan #2", 3));
    3.63 +                  f.Add(new Fan("Auxiliary Fan #2", 4));
    3.64 +                  break;
    3.65 +              } break;
    3.66 +            default:
    3.67 +              v.Add(new Voltage("CPU VCore", 0));
    3.68 +              v.Add(new Voltage("Voltage #2", 1, true));
    3.69 +              v.Add(new Voltage("AVCC", 2, 34, 34));
    3.70 +              v.Add(new Voltage("3VCC", 3, 34, 34));
    3.71 +              v.Add(new Voltage("Voltage #5", 4, true));
    3.72 +              v.Add(new Voltage("Voltage #6", 5, true));
    3.73 +              v.Add(new Voltage("Voltage #7", 6, true));
    3.74 +              v.Add(new Voltage("3VSB", 7, 34, 34));
    3.75 +              v.Add(new Voltage("VBAT", 8, 34, 34));
    3.76 +              v.Add(new Voltage("Voltage #10", 9, true));
    3.77 +              t.Add(new Temperature("CPU", 0));
    3.78 +              t.Add(new Temperature("Auxiliary", 1));
    3.79 +              t.Add(new Temperature("System", 2));
    3.80 +              f.Add(new Fan("System Fan", 0));
    3.81 +              f.Add(new Fan("CPU Fan", 1));
    3.82 +              f.Add(new Fan("Auxiliary Fan", 2));
    3.83 +              f.Add(new Fan("CPU Fan #2", 3));
    3.84 +              f.Add(new Fan("Auxiliary Fan #2", 4));
    3.85 +              break;
    3.86 +          }
    3.87            break;
    3.88          case Chip.W83627DHG: 
    3.89          case Chip.W83627DHGP: