Hardware/Mainboard/Mainboard.cs
changeset 126 2354fdb91ac4
parent 110 411b72b73d8f
child 130 80065ab20b84
     1.1 --- a/Hardware/Mainboard/Mainboard.cs	Sat May 22 15:51:59 2010 +0000
     1.2 +++ b/Hardware/Mainboard/Mainboard.cs	Mon May 24 15:27:46 2010 +0000
     1.3 @@ -55,7 +55,7 @@
     1.4        if (smbios.Board != null) {
     1.5          if (smbios.Board.ProductName != null
     1.6            && smbios.Board.ProductName != "") {
     1.7 -          if (smbios.Board.Manufacturer == Manufacturer.Unkown)
     1.8 +          if (smbios.Board.Manufacturer == Manufacturer.Unknown)
     1.9              this.name = smbios.Board.ProductName;
    1.10            else
    1.11              this.name = smbios.Board.Manufacturer + " " +
    1.12 @@ -64,11 +64,13 @@
    1.13            this.name = smbios.Board.Manufacturer.ToString();
    1.14          }
    1.15        } else {
    1.16 -        this.name = Manufacturer.Unkown.ToString();
    1.17 +        this.name = Manufacturer.Unknown.ToString();
    1.18        }
    1.19  
    1.20        this.icon = Utilities.EmbeddedResources.GetImage("mainboard.png");
    1.21 -      this.lpcGroup = new LPCIO();
    1.22 +      this.lpcGroup = new LPCIO(
    1.23 +        smbios.Board != null ? smbios.Board.Manufacturer : Manufacturer.Unknown,
    1.24 +        smbios.Board != null ? smbios.Board.Model : Model.Unknown);
    1.25      }
    1.26  
    1.27      public string Name {