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