ACPI reset now correctly sets the GPIREG registers back to 0xFF after zeroing all registers (which are the default values), fixes soft reset on the Abit BF6.
This commit is contained in:
@@ -787,6 +787,7 @@ acpi_reset(void *priv)
|
||||
int i;
|
||||
|
||||
memset(&dev->regs, 0x00, sizeof(acpi_regs_t));
|
||||
dev->regs.gpireg[0] = dev->regs.gpireg[1] = dev->regs.gpireg[2] = 0xff;
|
||||
for (i = 0; i < 4; i++)
|
||||
dev->regs.gporeg[i] = dev->gporeg_default[i];
|
||||
}
|
||||
|
Reference in New Issue
Block a user