Hardware/LPC/Chip.cs
author moel.mich
Sun, 15 Aug 2010 17:56:57 +0000
changeset 168 7f90baeb96b0
parent 165 813d8bc3192f
child 170 31858ba46e9c
permissions -rw-r--r--
Fixed Issue 104.
     1 
     2 using System;
     3 using System.Collections.Generic;
     4 using System.Text;
     5 
     6 namespace OpenHardwareMonitor.Hardware.LPC {
     7 
     8   internal enum Chip : ushort {
     9     Unknown = 0,
    10     IT8712F = 0x8712,
    11     IT8716F = 0x8716,
    12     IT8718F = 0x8718,
    13     IT8720F = 0x8720,
    14     IT8726F = 0x8726,
    15     W83627DHG = 0xA020,
    16     W83627DHGP = 0xB070,
    17     W83627EHF = 0x8800,    
    18     W83627HF = 0x5200,
    19     W83627THF = 0x8280,
    20     W83667HG = 0xA510,
    21     W83667HGB = 0xB350,
    22     W83687THF = 0x8541,
    23     F71858 = 0x0507,
    24     F71862 = 0x0601, 
    25     F71869 = 0x0814,
    26     F71882 = 0x0541,
    27     F71889ED = 0x0909,
    28     F71889F = 0x0723      
    29   }
    30 
    31   internal class ChipName {
    32 
    33     private ChipName() { }
    34 
    35     public static string GetName(Chip chip) {
    36       switch (chip) {
    37         case Chip.F71858: return "Fintek F71858";
    38         case Chip.F71862: return "Fintek F71862";
    39         case Chip.F71869: return "Fintek F71869";
    40         case Chip.F71882: return "Fintek F71882";
    41         case Chip.F71889ED: return "Fintek F71889ED";
    42         case Chip.F71889F: return "Fintek F71889F";
    43         case Chip.IT8712F: return "ITE IT8712F";
    44         case Chip.IT8716F: return "ITE IT8716F";
    45         case Chip.IT8718F: return "ITE IT8718F";
    46         case Chip.IT8720F: return "ITE IT8720F";
    47         case Chip.IT8726F: return "ITE IT8726F";
    48         case Chip.W83627DHG: return "Winbond W83627DHG";
    49         case Chip.W83627DHGP: return "Winbond W83627DHG-P";
    50         case Chip.W83627EHF: return "Winbond W83627EHF";
    51         case Chip.W83627HF: return "Winbond W83627HF";
    52         case Chip.W83627THF: return "Winbond W83627THF";
    53         case Chip.W83667HG: return "Winbond W83667HG";
    54         case Chip.W83667HGB: return "Winbond W83667HG-B";
    55         case Chip.W83687THF: return "Winbond W83687THF";
    56         case Chip.Unknown: return "Unkown";
    57         default: return "Unknown";
    58       }
    59     }
    60 
    61   }
    62 
    63 }