Added a mainboard specific configuration for the ASRock P55 Deluxe.
1.1 --- a/Hardware/Mainboard/Model.cs Mon Oct 11 20:37:37 2010 +0000
1.2 +++ b/Hardware/Mainboard/Model.cs Thu Oct 14 16:52:23 2010 +0000
1.3 @@ -41,6 +41,7 @@
1.4 // ASRock
1.5 _880GMH_USB3,
1.6 AOD790GX_128M,
1.7 + P55_Deluxe,
1.8
1.9 // ASUS
1.10 Crosshair_III_Formula,
2.1 --- a/Hardware/Mainboard/SMBIOS.cs Mon Oct 11 20:37:37 2010 +0000
2.2 +++ b/Hardware/Mainboard/SMBIOS.cs Thu Oct 14 16:52:23 2010 +0000
2.3 @@ -297,6 +297,8 @@
2.4 return Model._880GMH_USB3;
2.5 case "ASRock AOD790GX/128M":
2.6 return Model.AOD790GX_128M;
2.7 + case "P55 Deluxe":
2.8 + return Model.P55_Deluxe;
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 Mon Oct 11 20:37:37 2010 +0000
3.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs Thu Oct 14 16:52:23 2010 +0000
3.3 @@ -50,7 +50,6 @@
3.4 private readonly List<Sensor> temperatures = new List<Sensor>();
3.5 private readonly List<Sensor> fans = new List<Sensor>();
3.6
3.7 -
3.8 public SuperIOHardware(Mainboard mainboard, ISuperIO superIO,
3.9 Manufacturer manufacturer, Model model, ISettings settings)
3.10 {
3.11 @@ -116,6 +115,40 @@
3.12 break;
3.13 }
3.14 break;
3.15 +
3.16 + case Manufacturer.ASRock:
3.17 + switch (model) {
3.18 + case Model.P55_Deluxe: // IT8720F
3.19 + v.Add(new Voltage("CPU VCore", 0));
3.20 + v.Add(new Voltage("+3.3V", 2));
3.21 + v.Add(new Voltage("+12V", 4, 30, 10));
3.22 + v.Add(new Voltage("+5V", 5, 6.8f, 10));
3.23 + v.Add(new Voltage("VBat", 8));
3.24 + t.Add(new Temperature("CPU", 0));
3.25 + t.Add(new Temperature("Motherboard", 1));
3.26 + f.Add(new Fan("CPU Fan", 0));
3.27 + f.Add(new Fan("Chassis Fan #1", 1));
3.28 + // fan channel 2 can connect to 3 different fan headers
3.29 + // which fan is read is configured with gpio 83-85
3.30 + break;
3.31 + default:
3.32 + v.Add(new Voltage("CPU VCore", 0));
3.33 + v.Add(new Voltage("Voltage #2", 1, true));
3.34 + v.Add(new Voltage("Voltage #3", 2, true));
3.35 + v.Add(new Voltage("Voltage #4", 3, true));
3.36 + v.Add(new Voltage("Voltage #5", 4, true));
3.37 + v.Add(new Voltage("Voltage #6", 5, true));
3.38 + v.Add(new Voltage("Voltage #7", 6, true));
3.39 + v.Add(new Voltage("Voltage #8", 7, true));
3.40 + v.Add(new Voltage("VBat", 8));
3.41 + for (int i = 0; i < superIO.Temperatures.Length; i++)
3.42 + t.Add(new Temperature("Temperature #" + (i + 1), i));
3.43 + for (int i = 0; i < superIO.Fans.Length; i++)
3.44 + f.Add(new Fan("Fan #" + (i + 1), i));
3.45 + break;
3.46 + };
3.47 + break;
3.48 +
3.49 case Manufacturer.DFI:
3.50 switch (model) {
3.51 case Model.LP_BI_P45_T2RS_Elite: // IT8718F
3.52 @@ -458,10 +491,8 @@
3.53 v.Add(new Voltage("VBAT", 8, 34, 34));
3.54 t.Add(new Temperature("CPU", 0));
3.55 t.Add(new Temperature("Motherboard", 2));
3.56 - f.Add(new Fan("Chassis Fan", 0));
3.57 - f.Add(new Fan("CPU Fan", 1));
3.58 - f.Add(new Fan("NB Fan", 2));
3.59 - f.Add(new Fan("Power Fan", 4));
3.60 + f.Add(new Fan("CPU Fan", 0));
3.61 + f.Add(new Fan("Chassis Fan", 1));
3.62 break;
3.63 default:
3.64 v.Add(new Voltage("CPU VCore", 0));