1.1 --- a/Hardware/LPC/LPCGroup.cs Sun Feb 07 19:48:32 2010 +0000
1.2 +++ b/Hardware/LPC/LPCGroup.cs Sun Feb 07 19:53:51 2010 +0000
1.3 @@ -93,7 +93,7 @@
1.4 private const byte FINTEK_VENDOR_ID_REGISTER = 0x23;
1.5 private const ushort FINTEK_VENDOR_ID = 0x1934;
1.6
1.7 - private const byte W83627DHG_HARDWARE_MONITOR_LDN = 0x0B;
1.8 + private const byte W83627_HARDWARE_MONITOR_LDN = 0x0B;
1.9
1.10 private const byte F71858_HARDWARE_MONITOR_LDN = 0x02;
1.11 private const byte FINTEK_HARDWARE_MONITOR_LDN = 0x04;
1.12 @@ -165,11 +165,23 @@
1.13 logicalDeviceNumber = 0;
1.14 break;
1.15 } break;
1.16 + case 0x52:
1.17 + switch (revision) {
1.18 + case 0x17:
1.19 + case 0x3A:
1.20 + chip = Chip.W83627HF;
1.21 + logicalDeviceNumber = W83627_HARDWARE_MONITOR_LDN;
1.22 + break;
1.23 + default:
1.24 + chip = Chip.Unknown;
1.25 + logicalDeviceNumber = 0;
1.26 + break;
1.27 + } break;
1.28 case 0xA0:
1.29 switch (revision & 0xF0) {
1.30 case 0x20:
1.31 chip = Chip.W83627DHG;
1.32 - logicalDeviceNumber = W83627DHG_HARDWARE_MONITOR_LDN;
1.33 + logicalDeviceNumber = W83627_HARDWARE_MONITOR_LDN;
1.34 break;
1.35 default:
1.36 chip = Chip.Unknown;
1.37 @@ -180,7 +192,7 @@
1.38 switch (revision & 0xF0) {
1.39 case 0x70:
1.40 chip = Chip.W83627DHGP;
1.41 - logicalDeviceNumber = W83627DHG_HARDWARE_MONITOR_LDN;
1.42 + logicalDeviceNumber = W83627_HARDWARE_MONITOR_LDN;
1.43 break;
1.44 default:
1.45 chip = Chip.Unknown;
1.46 @@ -211,9 +223,10 @@
1.47 switch (chip) {
1.48 case Chip.W83627DHG:
1.49 case Chip.W83627DHGP:
1.50 - W83627DHG w83627dhg = new W83627DHG(chip, revision, address);
1.51 - if (w83627dhg.IsAvailable)
1.52 - hardware.Add(w83627dhg);
1.53 + case Chip.W83627HF:
1.54 + W83627 w83627 = new W83627(chip, revision, address);
1.55 + if (w83627.IsAvailable)
1.56 + hardware.Add(w83627);
1.57 break;
1.58 case Chip.F71862:
1.59 case Chip.F71882: