Hardware/LPC/Chip.cs
author moel.mich
Tue, 30 Dec 2014 21:04:54 +0000
changeset 430 6b24e39f1b84
parent 408 bbeb9004c491
permissions -rw-r--r--
Fixed Issue 651.
     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-2013 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     F71869A = 0x1007,
    22     F71882 = 0x0541,
    23     F71889AD = 0x1005,
    24     F71889ED = 0x0909,
    25     F71889F = 0x0723,
    26     F71808E = 0x0901,
    27 
    28     IT8705F = 0x8705,
    29     IT8712F = 0x8712,
    30     IT8716F = 0x8716,
    31     IT8718F = 0x8718,
    32     IT8720F = 0x8720,
    33     IT8721F = 0x8721,
    34     IT8726F = 0x8726,
    35     IT8728F = 0x8728,
    36     IT8771E = 0x8771,
    37     IT8772E = 0x8772,
    38 
    39     NCT6771F = 0xB470,
    40     NCT6776F = 0xC330,
    41     NCT6779D = 0xC560,
    42     NCT6791D = 0xC803,
    43 
    44     W83627DHG = 0xA020,
    45     W83627DHGP = 0xB070,
    46     W83627EHF = 0x8800,    
    47     W83627HF = 0x5200,
    48     W83627THF = 0x8280,
    49     W83667HG = 0xA510,
    50     W83667HGB = 0xB350,
    51     W83687THF = 0x8541
    52   }
    53 
    54   internal class ChipName {
    55 
    56     private ChipName() { }
    57 
    58     public static string GetName(Chip chip) {
    59       switch (chip) {
    60         case Chip.ATK0110: return "Asus ATK0110";
    61 
    62         case Chip.F71858: return "Fintek F71858";
    63         case Chip.F71862: return "Fintek F71862";
    64         case Chip.F71869: return "Fintek F71869";
    65         case Chip.F71869A: return "Fintek F71869A";
    66         case Chip.F71882: return "Fintek F71882";
    67         case Chip.F71889AD: return "Fintek F71889AD";
    68         case Chip.F71889ED: return "Fintek F71889ED";
    69         case Chip.F71889F: return "Fintek F71889F";
    70         case Chip.F71808E: return "Fintek F71808E";
    71 
    72         case Chip.IT8705F: return "ITE IT8705F";
    73         case Chip.IT8712F: return "ITE IT8712F";
    74         case Chip.IT8716F: return "ITE IT8716F";
    75         case Chip.IT8718F: return "ITE IT8718F";        
    76         case Chip.IT8720F: return "ITE IT8720F";
    77         case Chip.IT8721F: return "ITE IT8721F";
    78         case Chip.IT8726F: return "ITE IT8726F";
    79         case Chip.IT8728F: return "ITE IT8728F";
    80         case Chip.IT8771E: return "ITE IT8771E";
    81         case Chip.IT8772E: return "ITE IT8772E";
    82 
    83         case Chip.NCT6771F: return "Nuvoton NCT6771F";
    84         case Chip.NCT6776F: return "Nuvoton NCT6776F";
    85         case Chip.NCT6779D: return "Nuvoton NCT6779D";
    86         case Chip.NCT6791D: return "Nuvoton NCT6791D";
    87 
    88         case Chip.W83627DHG: return "Winbond W83627DHG";
    89         case Chip.W83627DHGP: return "Winbond W83627DHG-P";
    90         case Chip.W83627EHF: return "Winbond W83627EHF";
    91         case Chip.W83627HF: return "Winbond W83627HF";
    92         case Chip.W83627THF: return "Winbond W83627THF";
    93         case Chip.W83667HG: return "Winbond W83667HG";
    94         case Chip.W83667HGB: return "Winbond W83667HG-B";
    95         case Chip.W83687THF: return "Winbond W83687THF";
    96 
    97         case Chip.Unknown: return "Unkown";
    98         default: return "Unknown";
    99       }
   100     }
   101   }
   102 
   103 }