Added an experimental fix for secondary ITE chips.

This commit is contained in:
Michael Möller 2020-02-13 22:33:35 +01:00
parent 710fe75138
commit 0a8923a998

View File

@ -90,9 +90,12 @@ namespace OpenHardwareMonitor.Hardware.LPC {
} }
public void IT87Exit() { public void IT87Exit() {
// do not exit config mode for secondary super IO
if (registerPort != 0x4E) {
Ring0.WriteIoPort(registerPort, CONFIGURATION_CONTROL_REGISTER); Ring0.WriteIoPort(registerPort, CONFIGURATION_CONTROL_REGISTER);
Ring0.WriteIoPort(valuePort, 0x02); Ring0.WriteIoPort(valuePort, 0x02);
} }
}
public void SMSCEnter() { public void SMSCEnter() {
Ring0.WriteIoPort(registerPort, 0x55); Ring0.WriteIoPort(registerPort, 0x55);