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,8 +90,11 @@ namespace OpenHardwareMonitor.Hardware.LPC {
} }
public void IT87Exit() { public void IT87Exit() {
Ring0.WriteIoPort(registerPort, CONFIGURATION_CONTROL_REGISTER); // do not exit config mode for secondary super IO
Ring0.WriteIoPort(valuePort, 0x02); if (registerPort != 0x4E) {
Ring0.WriteIoPort(registerPort, CONFIGURATION_CONTROL_REGISTER);
Ring0.WriteIoPort(valuePort, 0x02);
}
} }
public void SMSCEnter() { public void SMSCEnter() {