1.1 --- a/Hardware/LPC/Chip.cs Thu Aug 12 20:53:27 2010 +0000
1.2 +++ b/Hardware/LPC/Chip.cs Sun Aug 15 14:46:58 2010 +0000
1.3 @@ -25,7 +25,39 @@
1.4 F71869 = 0x0814,
1.5 F71882 = 0x0541,
1.6 F71889ED = 0x0909,
1.7 - F71889F = 0x0723
1.8 + F71889F = 0x0723
1.9 + }
1.10 +
1.11 + internal class ChipName {
1.12 +
1.13 + private ChipName() { }
1.14 +
1.15 + public static string GetName(Chip chip) {
1.16 + switch (chip) {
1.17 + case Chip.F71858: return "Fintek F71858";
1.18 + case Chip.F71862: return "Fintek F71862";
1.19 + case Chip.F71869: return "Fintek F71869";
1.20 + case Chip.F71882: return "Fintek F71882";
1.21 + case Chip.F71889ED: return "Fintek F71889ED";
1.22 + case Chip.F71889F: return "Fintek F71889F";
1.23 + case Chip.IT8712F: return "ITE IT8712F";
1.24 + case Chip.IT8716F: return "ITE IT8716F";
1.25 + case Chip.IT8718F: return "ITE IT8718F";
1.26 + case Chip.IT8720F: return "ITE IT8720F";
1.27 + case Chip.IT8726F: return "ITE IT8726F";
1.28 + case Chip.W83627DHG: return "Winbond W83627DHG";
1.29 + case Chip.W83627DHGP: return "Winbond W83627DHG-P";
1.30 + case Chip.W83627EHF: return "Winbond W83627EHF";
1.31 + case Chip.W83627HF: return "Winbond W83627HF";
1.32 + case Chip.W83627THF: return "Winbond W83627THF";
1.33 + case Chip.W83667HG: return "Winbond W83667HG";
1.34 + case Chip.W83667HGB: return "Winbond W83667HG-B";
1.35 + case Chip.W83687THF: return "Winbond W83687THF";
1.36 + case Chip.Unknown: return "Unkown";
1.37 + default: return "Unknown";
1.38 + }
1.39 + }
1.40 +
1.41 }
1.42
1.43 }