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.
moel@182
     1
/*
moel@182
     2
 
moel@344
     3
  This Source Code Form is subject to the terms of the Mozilla Public
moel@344
     4
  License, v. 2.0. If a copy of the MPL was not distributed with this
moel@344
     5
  file, You can obtain one at http://mozilla.org/MPL/2.0/.
moel@182
     6
 
moel@408
     7
  Copyright (C) 2009-2013 Michael Möller <mmoeller@openhardwaremonitor.org>
moel@344
     8
	
moel@182
     9
*/
moel@1
    10
moel@1
    11
namespace OpenHardwareMonitor.Hardware.LPC {
moel@1
    12
moel@165
    13
  internal enum Chip : ushort {
moel@1
    14
    Unknown = 0,
moel@266
    15
moel@266
    16
    ATK0110 = 0x0110,
moel@266
    17
moel@266
    18
    F71858 = 0x0507,
moel@266
    19
    F71862 = 0x0601, 
moel@266
    20
    F71869 = 0x0814,
moel@408
    21
    F71869A = 0x1007,
moel@266
    22
    F71882 = 0x0541,
moel@296
    23
    F71889AD = 0x1005,
moel@266
    24
    F71889ED = 0x0909,
moel@266
    25
    F71889F = 0x0723,
moel@352
    26
    F71808E = 0x0901,
moel@266
    27
moel@353
    28
    IT8705F = 0x8705,
moel@93
    29
    IT8712F = 0x8712,
moel@21
    30
    IT8716F = 0x8716,
moel@21
    31
    IT8718F = 0x8718,
moel@21
    32
    IT8720F = 0x8720,
moel@170
    33
    IT8721F = 0x8721,
moel@21
    34
    IT8726F = 0x8726,
moel@277
    35
    IT8728F = 0x8728,
moel@341
    36
    IT8771E = 0x8771,
moel@319
    37
    IT8772E = 0x8772,
moel@266
    38
moel@266
    39
    NCT6771F = 0xB470,
moel@266
    40
    NCT6776F = 0xC330,
moel@355
    41
    NCT6779D = 0xC560,
moel@413
    42
    NCT6791D = 0xC803,
moel@266
    43
moel@7
    44
    W83627DHG = 0xA020,
moel@19
    45
    W83627DHGP = 0xB070,
moel@108
    46
    W83627EHF = 0x8800,    
moel@31
    47
    W83627HF = 0x5200,
moel@147
    48
    W83627THF = 0x8280,
moel@34
    49
    W83667HG = 0xA510,
moel@34
    50
    W83667HGB = 0xB350,
moel@266
    51
    W83687THF = 0x8541
moel@167
    52
  }
moel@167
    53
moel@167
    54
  internal class ChipName {
moel@167
    55
moel@167
    56
    private ChipName() { }
moel@167
    57
moel@167
    58
    public static string GetName(Chip chip) {
moel@167
    59
      switch (chip) {
moel@266
    60
        case Chip.ATK0110: return "Asus ATK0110";
moel@266
    61
moel@167
    62
        case Chip.F71858: return "Fintek F71858";
moel@167
    63
        case Chip.F71862: return "Fintek F71862";
moel@167
    64
        case Chip.F71869: return "Fintek F71869";
moel@408
    65
        case Chip.F71869A: return "Fintek F71869A";
moel@167
    66
        case Chip.F71882: return "Fintek F71882";
moel@296
    67
        case Chip.F71889AD: return "Fintek F71889AD";
moel@167
    68
        case Chip.F71889ED: return "Fintek F71889ED";
moel@167
    69
        case Chip.F71889F: return "Fintek F71889F";
moel@352
    70
        case Chip.F71808E: return "Fintek F71808E";
moel@266
    71
moel@353
    72
        case Chip.IT8705F: return "ITE IT8705F";
moel@167
    73
        case Chip.IT8712F: return "ITE IT8712F";
moel@167
    74
        case Chip.IT8716F: return "ITE IT8716F";
moel@277
    75
        case Chip.IT8718F: return "ITE IT8718F";        
moel@277
    76
        case Chip.IT8720F: return "ITE IT8720F";
moel@170
    77
        case Chip.IT8721F: return "ITE IT8721F";
moel@167
    78
        case Chip.IT8726F: return "ITE IT8726F";
moel@277
    79
        case Chip.IT8728F: return "ITE IT8728F";
moel@341
    80
        case Chip.IT8771E: return "ITE IT8771E";
moel@319
    81
        case Chip.IT8772E: return "ITE IT8772E";
moel@266
    82
moel@266
    83
        case Chip.NCT6771F: return "Nuvoton NCT6771F";
moel@266
    84
        case Chip.NCT6776F: return "Nuvoton NCT6776F";
moel@355
    85
        case Chip.NCT6779D: return "Nuvoton NCT6779D";
moel@413
    86
        case Chip.NCT6791D: return "Nuvoton NCT6791D";
moel@266
    87
moel@167
    88
        case Chip.W83627DHG: return "Winbond W83627DHG";
moel@167
    89
        case Chip.W83627DHGP: return "Winbond W83627DHG-P";
moel@167
    90
        case Chip.W83627EHF: return "Winbond W83627EHF";
moel@167
    91
        case Chip.W83627HF: return "Winbond W83627HF";
moel@167
    92
        case Chip.W83627THF: return "Winbond W83627THF";
moel@167
    93
        case Chip.W83667HG: return "Winbond W83667HG";
moel@167
    94
        case Chip.W83667HGB: return "Winbond W83667HG-B";
moel@167
    95
        case Chip.W83687THF: return "Winbond W83687THF";
moel@266
    96
moel@167
    97
        case Chip.Unknown: return "Unkown";
moel@167
    98
        default: return "Unknown";
moel@167
    99
      }
moel@167
   100
    }
moel@1
   101
  }
moel@1
   102
moel@1
   103
}