# HG changeset patch # User moel.mich # Date 1329430230 0 # Node ID 5172a92c5c2027d06b3b6c8f0c7a2ecc08ecff62 # Parent 600962f8a2980693b00c0cdf0bcd86cd110a7687 Added experimental support for ITE IT8771E super I/O chips. diff -r 600962f8a298 -r 5172a92c5c20 Hardware/LPC/Chip.cs --- a/Hardware/LPC/Chip.cs Tue Feb 14 23:07:55 2012 +0000 +++ b/Hardware/LPC/Chip.cs Thu Feb 16 22:10:30 2012 +0000 @@ -16,7 +16,7 @@ The Initial Developer of the Original Code is Michael Möller . - Portions created by the Initial Developer are Copyright (C) 2009-2011 + Portions created by the Initial Developer are Copyright (C) 2009-2012 the Initial Developer. All Rights Reserved. Contributor(s): @@ -57,6 +57,7 @@ IT8721F = 0x8721, IT8726F = 0x8726, IT8728F = 0x8728, + IT8771E = 0x8771, IT8772E = 0x8772, NCT6771F = 0xB470, @@ -95,6 +96,7 @@ case Chip.IT8721F: return "ITE IT8721F"; case Chip.IT8726F: return "ITE IT8726F"; case Chip.IT8728F: return "ITE IT8728F"; + case Chip.IT8771E: return "ITE IT8771E"; case Chip.IT8772E: return "ITE IT8772E"; case Chip.NCT6771F: return "Nuvoton NCT6771F"; diff -r 600962f8a298 -r 5172a92c5c20 Hardware/LPC/IT87XX.cs --- a/Hardware/LPC/IT87XX.cs Tue Feb 14 23:07:55 2012 +0000 +++ b/Hardware/LPC/IT87XX.cs Thu Feb 16 22:10:30 2012 +0000 @@ -16,7 +16,7 @@ The Initial Developer of the Original Code is Michael Möller . - Portions created by the Initial Developer are Copyright (C) 2009-2011 + Portions created by the Initial Developer are Copyright (C) 2009-2012 the Initial Developer. All Rights Reserved. Contributor(s): @@ -102,7 +102,7 @@ return; Ring0.WriteIoPort((ushort)(gpioAddress + index), value); - } + } public void SetControl(int index, byte? value) { } @@ -132,7 +132,8 @@ fans = new float?[5]; // IT8721F, IT8728F and IT8772E use a 12mV resultion ADC, all others 16mV - if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8772E) + if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8771E + || chip == Chip.IT8772E) { voltageGain = 0.012f; } else { @@ -159,6 +160,7 @@ gpioCount = 8; break; case Chip.IT8728F: + case Chip.IT8771E: case Chip.IT8772E: gpioCount = 0; break; diff -r 600962f8a298 -r 5172a92c5c20 Hardware/LPC/LPCIO.cs --- a/Hardware/LPC/LPCIO.cs Tue Feb 14 23:07:55 2012 +0000 +++ b/Hardware/LPC/LPCIO.cs Thu Feb 16 22:10:30 2012 +0000 @@ -16,7 +16,7 @@ The Initial Developer of the Original Code is Michael Möller . - Portions created by the Initial Developer are Copyright (C) 2009-2011 + Portions created by the Initial Developer are Copyright (C) 2009-2012 the Initial Developer. All Rights Reserved. Contributor(s): @@ -364,6 +364,7 @@ case 0x8721: chip = Chip.IT8721F; break; case 0x8726: chip = Chip.IT8726F; break; case 0x8728: chip = Chip.IT8728F; break; + case 0x8771: chip = Chip.IT8771E; break; case 0x8772: chip = Chip.IT8772E; break; default: chip = Chip.Unknown; break; } diff -r 600962f8a298 -r 5172a92c5c20 Hardware/Mainboard/SuperIOHardware.cs --- a/Hardware/Mainboard/SuperIOHardware.cs Tue Feb 14 23:07:55 2012 +0000 +++ b/Hardware/Mainboard/SuperIOHardware.cs Thu Feb 16 22:10:30 2012 +0000 @@ -430,6 +430,7 @@ case Chip.IT8721F: case Chip.IT8728F: + case Chip.IT8771E: case Chip.IT8772E: switch (manufacturer) { case Manufacturer.ECS: