A fist attempt at adding a mainboard specific configuration for the ASUS M4A79XTD EVO (Issue 79).
authormoel.mich
Sun, 27 Jun 2010 20:49:29 +0000
changeset 14444a688398012
parent 143 d5504ec7b85a
child 145 673c2ad36db2
A fist attempt at adding a mainboard specific configuration for the ASUS M4A79XTD EVO (Issue 79).
Hardware/LPC/IT87XX.cs
Hardware/Mainboard/Mainboard.cs
Hardware/Mainboard/Model.cs
Hardware/Mainboard/SMBIOS.cs
Hardware/Mainboard/SuperIOHardware.cs
     1.1 --- a/Hardware/LPC/IT87XX.cs	Sun Jun 27 13:56:18 2010 +0000
     1.2 +++ b/Hardware/LPC/IT87XX.cs	Sun Jun 27 20:49:29 2010 +0000
     1.3 @@ -76,7 +76,7 @@
     1.4        byte value = WinRing0.ReadIoPortByte(dataReg);
     1.5        valid = register == WinRing0.ReadIoPortByte(addressReg);
     1.6        return value;
     1.7 -    }
     1.8 +    } 
     1.9  
    1.10      public IT87XX(Chip chip, ushort address) {
    1.11        
     2.1 --- a/Hardware/Mainboard/Mainboard.cs	Sun Jun 27 13:56:18 2010 +0000
     2.2 +++ b/Hardware/Mainboard/Mainboard.cs	Sun Jun 27 20:49:29 2010 +0000
     2.3 @@ -85,7 +85,7 @@
     2.4          superIOHardware[i] = new SuperIOHardware(superIO[i], 
     2.5            smbios.Board != null ? smbios.Board.Manufacturer : 
     2.6            Manufacturer.Unknown, smbios.Board != null ? smbios.Board.Model : 
     2.7 -          Model.Unknown);
     2.8 +          Model.Unknown);     
     2.9      }
    2.10  
    2.11      public string Name {
     3.1 --- a/Hardware/Mainboard/Model.cs	Sun Jun 27 13:56:18 2010 +0000
     3.2 +++ b/Hardware/Mainboard/Model.cs	Sun Jun 27 20:49:29 2010 +0000
     3.3 @@ -41,6 +41,7 @@
     3.4      // ASUS
     3.5      Crosshair_III_Formula,
     3.6      M2N_SLI_DELUXE,
     3.7 +    M4A79XTD_EVO,
     3.8      P5W_DH_Deluxe,    
     3.9  
    3.10      // DFI
     4.1 --- a/Hardware/Mainboard/SMBIOS.cs	Sun Jun 27 13:56:18 2010 +0000
     4.2 +++ b/Hardware/Mainboard/SMBIOS.cs	Sun Jun 27 20:49:29 2010 +0000
     4.3 @@ -282,6 +282,8 @@
     4.4              model = Model.Crosshair_III_Formula; break;
     4.5            case "M2N-SLI DELUXE":
     4.6              model = Model.M2N_SLI_DELUXE; break;
     4.7 +          case "M4A79XTD EVO":
     4.8 +            model = Model.M4A79XTD_EVO; break;
     4.9            case "P5W DH Deluxe":
    4.10              model = Model.P5W_DH_Deluxe; break;
    4.11            case "LP BI P45-T2RS Elite":
     5.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Sun Jun 27 13:56:18 2010 +0000
     5.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Sun Jun 27 20:49:29 2010 +0000
     5.3 @@ -99,7 +99,7 @@
     5.4                    for (int i = 0; i < superIO.Fans.Length; i++)
     5.5                      f.Add(new Fan("Fan #" + (i + 1), i));
     5.6                    break;
     5.7 -                case Model.M2N_SLI_DELUXE:
     5.8 +                case Model.M2N_SLI_DELUXE:                
     5.9                    v.Add(new Voltage("CPU VCore", 0));
    5.10                    v.Add(new Voltage("+3.3V", 1));
    5.11                    v.Add(new Voltage("+5V", 3, 6.8f, 10, 0));
    5.12 @@ -112,6 +112,18 @@
    5.13                    f.Add(new Fan("Chassis Fan #1", 1));
    5.14                    f.Add(new Fan("Power Fan", 2));
    5.15                    break;
    5.16 +                case Model.M4A79XTD_EVO:
    5.17 +                  v.Add(new Voltage("+3.3V", 1, 18, 16, 0));
    5.18 +                  v.Add(new Voltage("CPU VCore", 2, 12, 15, 0));                  
    5.19 +                  v.Add(new Voltage("+5V", 3, 6.8f, 10, 0));
    5.20 +                  v.Add(new Voltage("+12V", 4, 5.6f, 2.7f, 0));
    5.21 +                  v.Add(new Voltage("VBat", 8));
    5.22 +                  t.Add(new Temperature("CPU", 0));
    5.23 +                  t.Add(new Temperature("Motherboard", 1));
    5.24 +                  f.Add(new Fan("CPU Fan", 0));
    5.25 +                  f.Add(new Fan("Chassis Fan #1", 1));
    5.26 +                  f.Add(new Fan("Chassis Fan #2", 2));
    5.27 +                  break;
    5.28                  default:
    5.29                    v.Add(new Voltage("CPU VCore", 0));
    5.30                    v.Add(new Voltage("Voltage #2", 1, true));