moel@182: /*
moel@182:   
moel@182:   Version: MPL 1.1/GPL 2.0/LGPL 2.1
moel@182: 
moel@182:   The contents of this file are subject to the Mozilla Public License Version
moel@182:   1.1 (the "License"); you may not use this file except in compliance with
moel@182:   the License. You may obtain a copy of the License at
moel@182:  
moel@182:   http://www.mozilla.org/MPL/
moel@182: 
moel@182:   Software distributed under the License is distributed on an "AS IS" basis,
moel@182:   WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
moel@182:   for the specific language governing rights and limitations under the License.
moel@182: 
moel@182:   The Original Code is the Open Hardware Monitor code.
moel@182: 
moel@182:   The Initial Developer of the Original Code is 
moel@182:   Michael Möller <m.moeller@gmx.ch>.
moel@265:   Portions created by the Initial Developer are Copyright (C) 2009-2011
moel@182:   the Initial Developer. All Rights Reserved.
moel@182: 
moel@182:   Contributor(s):
moel@182: 
moel@182:   Alternatively, the contents of this file may be used under the terms of
moel@182:   either the GNU General Public License Version 2 or later (the "GPL"), or
moel@182:   the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
moel@182:   in which case the provisions of the GPL or the LGPL are applicable instead
moel@182:   of those above. If you wish to allow use of your version of this file only
moel@182:   under the terms of either the GPL or the LGPL, and not to allow others to
moel@182:   use your version of this file under the terms of the MPL, indicate your
moel@182:   decision by deleting the provisions above and replace them with the notice
moel@182:   and other provisions required by the GPL or the LGPL. If you do not delete
moel@182:   the provisions above, a recipient may use your version of this file under
moel@182:   the terms of any one of the MPL, the GPL or the LGPL.
moel@182:  
moel@182: */
moel@1: 
moel@1: namespace OpenHardwareMonitor.Hardware.LPC {
moel@1: 
moel@165:   internal enum Chip : ushort {
moel@1:     Unknown = 0,
moel@266: 
moel@266:     ATK0110 = 0x0110,
moel@266: 
moel@266:     F71858 = 0x0507,
moel@266:     F71862 = 0x0601, 
moel@266:     F71869 = 0x0814,
moel@266:     F71882 = 0x0541,
moel@266:     F71889ED = 0x0909,
moel@266:     F71889F = 0x0723,
moel@266: 
moel@93:     IT8712F = 0x8712,
moel@21:     IT8716F = 0x8716,
moel@21:     IT8718F = 0x8718,
moel@21:     IT8720F = 0x8720,
moel@170:     IT8721F = 0x8721,
moel@21:     IT8726F = 0x8726,
moel@266: 
moel@266:     NCT6771F = 0xB470,
moel@266:     NCT6776F = 0xC330,
moel@266: 
moel@7:     W83627DHG = 0xA020,
moel@19:     W83627DHGP = 0xB070,
moel@108:     W83627EHF = 0x8800,    
moel@31:     W83627HF = 0x5200,
moel@147:     W83627THF = 0x8280,
moel@34:     W83667HG = 0xA510,
moel@34:     W83667HGB = 0xB350,
moel@266:     W83687THF = 0x8541
moel@167:   }
moel@167: 
moel@167:   internal class ChipName {
moel@167: 
moel@167:     private ChipName() { }
moel@167: 
moel@167:     public static string GetName(Chip chip) {
moel@167:       switch (chip) {
moel@266:         case Chip.ATK0110: return "Asus ATK0110";
moel@266: 
moel@167:         case Chip.F71858: return "Fintek F71858";
moel@167:         case Chip.F71862: return "Fintek F71862";
moel@167:         case Chip.F71869: return "Fintek F71869";
moel@167:         case Chip.F71882: return "Fintek F71882";
moel@167:         case Chip.F71889ED: return "Fintek F71889ED";
moel@167:         case Chip.F71889F: return "Fintek F71889F";
moel@266: 
moel@167:         case Chip.IT8712F: return "ITE IT8712F";
moel@167:         case Chip.IT8716F: return "ITE IT8716F";
moel@167:         case Chip.IT8718F: return "ITE IT8718F";
moel@170:         case Chip.IT8721F: return "ITE IT8721F";
moel@167:         case Chip.IT8720F: return "ITE IT8720F";
moel@167:         case Chip.IT8726F: return "ITE IT8726F";
moel@266: 
moel@266:         case Chip.NCT6771F: return "Nuvoton NCT6771F";
moel@266:         case Chip.NCT6776F: return "Nuvoton NCT6776F";
moel@266: 
moel@167:         case Chip.W83627DHG: return "Winbond W83627DHG";
moel@167:         case Chip.W83627DHGP: return "Winbond W83627DHG-P";
moel@167:         case Chip.W83627EHF: return "Winbond W83627EHF";
moel@167:         case Chip.W83627HF: return "Winbond W83627HF";
moel@167:         case Chip.W83627THF: return "Winbond W83627THF";
moel@167:         case Chip.W83667HG: return "Winbond W83667HG";
moel@167:         case Chip.W83667HGB: return "Winbond W83667HG-B";
moel@167:         case Chip.W83687THF: return "Winbond W83687THF";
moel@266: 
moel@167:         case Chip.Unknown: return "Unkown";
moel@167:         default: return "Unknown";
moel@167:       }
moel@167:     }
moel@1:   }
moel@1: 
moel@1: }