Hardware/LPC/Chip.cs
author moel.mich
Wed, 11 Jul 2012 17:35:30 +0000
changeset 360 c1a4377c11d1
parent 353 b4e37f5b2669
permissions -rw-r--r--
Added the option to enable/disable all hardware groups.
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@344
     7
  Copyright (C) 2009-2012 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@266
    21
    F71882 = 0x0541,
moel@296
    22
    F71889AD = 0x1005,
moel@266
    23
    F71889ED = 0x0909,
moel@266
    24
    F71889F = 0x0723,
moel@352
    25
    F71808E = 0x0901,
moel@266
    26
moel@353
    27
    IT8705F = 0x8705,
moel@93
    28
    IT8712F = 0x8712,
moel@21
    29
    IT8716F = 0x8716,
moel@21
    30
    IT8718F = 0x8718,
moel@21
    31
    IT8720F = 0x8720,
moel@170
    32
    IT8721F = 0x8721,
moel@21
    33
    IT8726F = 0x8726,
moel@277
    34
    IT8728F = 0x8728,
moel@341
    35
    IT8771E = 0x8771,
moel@319
    36
    IT8772E = 0x8772,
moel@266
    37
moel@266
    38
    NCT6771F = 0xB470,
moel@266
    39
    NCT6776F = 0xC330,
moel@355
    40
    NCT6779D = 0xC560,
moel@266
    41
moel@7
    42
    W83627DHG = 0xA020,
moel@19
    43
    W83627DHGP = 0xB070,
moel@108
    44
    W83627EHF = 0x8800,    
moel@31
    45
    W83627HF = 0x5200,
moel@147
    46
    W83627THF = 0x8280,
moel@34
    47
    W83667HG = 0xA510,
moel@34
    48
    W83667HGB = 0xB350,
moel@266
    49
    W83687THF = 0x8541
moel@167
    50
  }
moel@167
    51
moel@167
    52
  internal class ChipName {
moel@167
    53
moel@167
    54
    private ChipName() { }
moel@167
    55
moel@167
    56
    public static string GetName(Chip chip) {
moel@167
    57
      switch (chip) {
moel@266
    58
        case Chip.ATK0110: return "Asus ATK0110";
moel@266
    59
moel@167
    60
        case Chip.F71858: return "Fintek F71858";
moel@167
    61
        case Chip.F71862: return "Fintek F71862";
moel@167
    62
        case Chip.F71869: return "Fintek F71869";
moel@167
    63
        case Chip.F71882: return "Fintek F71882";
moel@296
    64
        case Chip.F71889AD: return "Fintek F71889AD";
moel@167
    65
        case Chip.F71889ED: return "Fintek F71889ED";
moel@167
    66
        case Chip.F71889F: return "Fintek F71889F";
moel@352
    67
        case Chip.F71808E: return "Fintek F71808E";
moel@266
    68
moel@353
    69
        case Chip.IT8705F: return "ITE IT8705F";
moel@167
    70
        case Chip.IT8712F: return "ITE IT8712F";
moel@167
    71
        case Chip.IT8716F: return "ITE IT8716F";
moel@277
    72
        case Chip.IT8718F: return "ITE IT8718F";        
moel@277
    73
        case Chip.IT8720F: return "ITE IT8720F";
moel@170
    74
        case Chip.IT8721F: return "ITE IT8721F";
moel@167
    75
        case Chip.IT8726F: return "ITE IT8726F";
moel@277
    76
        case Chip.IT8728F: return "ITE IT8728F";
moel@341
    77
        case Chip.IT8771E: return "ITE IT8771E";
moel@319
    78
        case Chip.IT8772E: return "ITE IT8772E";
moel@266
    79
moel@266
    80
        case Chip.NCT6771F: return "Nuvoton NCT6771F";
moel@266
    81
        case Chip.NCT6776F: return "Nuvoton NCT6776F";
moel@355
    82
        case Chip.NCT6779D: return "Nuvoton NCT6779D";
moel@266
    83
moel@167
    84
        case Chip.W83627DHG: return "Winbond W83627DHG";
moel@167
    85
        case Chip.W83627DHGP: return "Winbond W83627DHG-P";
moel@167
    86
        case Chip.W83627EHF: return "Winbond W83627EHF";
moel@167
    87
        case Chip.W83627HF: return "Winbond W83627HF";
moel@167
    88
        case Chip.W83627THF: return "Winbond W83627THF";
moel@167
    89
        case Chip.W83667HG: return "Winbond W83667HG";
moel@167
    90
        case Chip.W83667HGB: return "Winbond W83667HG-B";
moel@167
    91
        case Chip.W83687THF: return "Winbond W83687THF";
moel@266
    92
moel@167
    93
        case Chip.Unknown: return "Unkown";
moel@167
    94
        default: return "Unknown";
moel@167
    95
      }
moel@167
    96
    }
moel@1
    97
  }
moel@1
    98
moel@1
    99
}