Hardware/LPC/Chip.cs
author sl
Sun, 03 Feb 2013 18:01:50 +0100
changeset 391 ca4c0e7ae75d
parent 353 b4e37f5b2669
permissions -rw-r--r--
Converted project to VisualStudio 2012.
Adding SoundGraphDisplay and SensorFrontView classes.
They were respectively based on SystemTray and SensorNotifyIcon.
SoundGraphDisplay is now able to load iMONDisplay.dll providing it lives on your PATH.
Adding option to sensor context menu for adding it into FrontView.
     1 /*
     2  
     3   This Source Code Form is subject to the terms of the Mozilla Public
     4   License, v. 2.0. If a copy of the MPL was not distributed with this
     5   file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6  
     7   Copyright (C) 2009-2012 Michael Möller <mmoeller@openhardwaremonitor.org>
     8 	
     9 */
    10 
    11 namespace OpenHardwareMonitor.Hardware.LPC {
    12 
    13   internal enum Chip : ushort {
    14     Unknown = 0,
    15 
    16     ATK0110 = 0x0110,
    17 
    18     F71858 = 0x0507,
    19     F71862 = 0x0601, 
    20     F71869 = 0x0814,
    21     F71882 = 0x0541,
    22     F71889AD = 0x1005,
    23     F71889ED = 0x0909,
    24     F71889F = 0x0723,
    25     F71808E = 0x0901,
    26 
    27     IT8705F = 0x8705,
    28     IT8712F = 0x8712,
    29     IT8716F = 0x8716,
    30     IT8718F = 0x8718,
    31     IT8720F = 0x8720,
    32     IT8721F = 0x8721,
    33     IT8726F = 0x8726,
    34     IT8728F = 0x8728,
    35     IT8771E = 0x8771,
    36     IT8772E = 0x8772,
    37 
    38     NCT6771F = 0xB470,
    39     NCT6776F = 0xC330,
    40     NCT6779D = 0xC560,
    41 
    42     W83627DHG = 0xA020,
    43     W83627DHGP = 0xB070,
    44     W83627EHF = 0x8800,    
    45     W83627HF = 0x5200,
    46     W83627THF = 0x8280,
    47     W83667HG = 0xA510,
    48     W83667HGB = 0xB350,
    49     W83687THF = 0x8541
    50   }
    51 
    52   internal class ChipName {
    53 
    54     private ChipName() { }
    55 
    56     public static string GetName(Chip chip) {
    57       switch (chip) {
    58         case Chip.ATK0110: return "Asus ATK0110";
    59 
    60         case Chip.F71858: return "Fintek F71858";
    61         case Chip.F71862: return "Fintek F71862";
    62         case Chip.F71869: return "Fintek F71869";
    63         case Chip.F71882: return "Fintek F71882";
    64         case Chip.F71889AD: return "Fintek F71889AD";
    65         case Chip.F71889ED: return "Fintek F71889ED";
    66         case Chip.F71889F: return "Fintek F71889F";
    67         case Chip.F71808E: return "Fintek F71808E";
    68 
    69         case Chip.IT8705F: return "ITE IT8705F";
    70         case Chip.IT8712F: return "ITE IT8712F";
    71         case Chip.IT8716F: return "ITE IT8716F";
    72         case Chip.IT8718F: return "ITE IT8718F";        
    73         case Chip.IT8720F: return "ITE IT8720F";
    74         case Chip.IT8721F: return "ITE IT8721F";
    75         case Chip.IT8726F: return "ITE IT8726F";
    76         case Chip.IT8728F: return "ITE IT8728F";
    77         case Chip.IT8771E: return "ITE IT8771E";
    78         case Chip.IT8772E: return "ITE IT8772E";
    79 
    80         case Chip.NCT6771F: return "Nuvoton NCT6771F";
    81         case Chip.NCT6776F: return "Nuvoton NCT6776F";
    82         case Chip.NCT6779D: return "Nuvoton NCT6779D";
    83 
    84         case Chip.W83627DHG: return "Winbond W83627DHG";
    85         case Chip.W83627DHGP: return "Winbond W83627DHG-P";
    86         case Chip.W83627EHF: return "Winbond W83627EHF";
    87         case Chip.W83627HF: return "Winbond W83627HF";
    88         case Chip.W83627THF: return "Winbond W83627THF";
    89         case Chip.W83667HG: return "Winbond W83667HG";
    90         case Chip.W83667HGB: return "Winbond W83667HG-B";
    91         case Chip.W83687THF: return "Winbond W83687THF";
    92 
    93         case Chip.Unknown: return "Unkown";
    94         default: return "Unknown";
    95       }
    96     }
    97   }
    98 
    99 }