Hardware/LPC/Chip.cs
author moel.mich
Tue, 24 Aug 2010 19:06:49 +0000
changeset 173 fb96c0ca3c2d
parent 167 b7cc9d09aefe
child 182 4801e9eaf979
permissions -rw-r--r--
Added another registry path for getting the Heatmaster serial port.
     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     IT8721F = 0x8721,
    15     IT8726F = 0x8726,
    16     W83627DHG = 0xA020,
    17     W83627DHGP = 0xB070,
    18     W83627EHF = 0x8800,    
    19     W83627HF = 0x5200,
    20     W83627THF = 0x8280,
    21     W83667HG = 0xA510,
    22     W83667HGB = 0xB350,
    23     W83687THF = 0x8541,
    24     F71858 = 0x0507,
    25     F71862 = 0x0601, 
    26     F71869 = 0x0814,
    27     F71882 = 0x0541,
    28     F71889ED = 0x0909,
    29     F71889F = 0x0723      
    30   }
    31 
    32   internal class ChipName {
    33 
    34     private ChipName() { }
    35 
    36     public static string GetName(Chip chip) {
    37       switch (chip) {
    38         case Chip.F71858: return "Fintek F71858";
    39         case Chip.F71862: return "Fintek F71862";
    40         case Chip.F71869: return "Fintek F71869";
    41         case Chip.F71882: return "Fintek F71882";
    42         case Chip.F71889ED: return "Fintek F71889ED";
    43         case Chip.F71889F: return "Fintek F71889F";
    44         case Chip.IT8712F: return "ITE IT8712F";
    45         case Chip.IT8716F: return "ITE IT8716F";
    46         case Chip.IT8718F: return "ITE IT8718F";
    47         case Chip.IT8721F: return "ITE IT8721F";
    48         case Chip.IT8720F: return "ITE IT8720F";
    49         case Chip.IT8726F: return "ITE IT8726F";
    50         case Chip.W83627DHG: return "Winbond W83627DHG";
    51         case Chip.W83627DHGP: return "Winbond W83627DHG-P";
    52         case Chip.W83627EHF: return "Winbond W83627EHF";
    53         case Chip.W83627HF: return "Winbond W83627HF";
    54         case Chip.W83627THF: return "Winbond W83627THF";
    55         case Chip.W83667HG: return "Winbond W83667HG";
    56         case Chip.W83667HGB: return "Winbond W83667HG-B";
    57         case Chip.W83687THF: return "Winbond W83687THF";
    58         case Chip.Unknown: return "Unkown";
    59         default: return "Unknown";
    60       }
    61     }
    62 
    63   }
    64 
    65 }