diff --git a/src/acpi.c b/src/acpi.c index e7a0de53d..6ecca841b 100644 --- a/src/acpi.c +++ b/src/acpi.c @@ -2373,26 +2373,32 @@ acpi_reset(void *priv) dev->regs.gporeg[i] = dev->gporeg_default[i]; if (dev->vendor == VEN_VIA_596B) { dev->regs.gpo_val = 0x7fffffff; - /* FIC VA-503A: - - Bit 11: ATX power (active high) - - Bit 4: 80-conductor cable on primary IDE channel (active low) - - Bit 3: 80-conductor cable on secondary IDE channel (active low) - - Bit 2: password cleared (active low) - ASUS P3V4X: - - Bit 15: 80-conductor cable on secondary IDE channel (active low) - - Bit 5: 80-conductor cable on primary IDE channel (active low) - BCM GT694VA: - - Bit 19: 80-conductor cable on secondary IDE channel (active low) - - Bit 17: 80-conductor cable on primary IDE channel (active low) - ASUS CUV4X-LS: - - Bit 2: 80-conductor cable on secondary IDE channel (active low) - - Bit 1: 80-conductor cable on primary IDE channel (active low) - Acorp 6VIA90AP: - - Bit 3: 80-conductor cable on secondary IDE channel (active low) - - Bit 1: 80-conductor cable on primary IDE channel (active low) */ + /* + - FIC VA-503A: + - Bit 11: ATX power (active high); + - Bit 4: 80-conductor cable on primary IDE channel (active low); + - Bit 3: 80-conductor cable on secondary IDE channel (active low); + - Bit 2: password cleared (active low). + - ASUS P3V4X: + - Bit 15: 80-conductor cable on secondary IDE channel (active low); + - Bit 5: 80-conductor cable on primary IDE channel (active low). + - BCM GT694VA: + - Bit 19: 80-conductor cable on secondary IDE channel (active low); + - Bit 17: 80-conductor cable on primary IDE channel (active low). + - ASUS CUV4X-LS: + - Bit 2: 80-conductor cable on secondary IDE channel (active low); + - Bit 1: 80-conductor cable on primary IDE channel (active low). + - Acorp 6VIA90AP: + - Bit 3: 80-conductor cable on secondary IDE channel (active low); + - Bit 1: 80-conductor cable on primary IDE channel (active low). + - FIC KA-6130: + - Bit 19: password cleared (active low). + */ dev->regs.gpi_val = 0xfff57fc1; if (!strcmp(machine_get_internal_name(), "ficva503a") || !strcmp(machine_get_internal_name(), "6via90ap")) dev->regs.gpi_val |= 0x00000004; + else if (!strcmp(machine_get_internal_name(), "ficka6130")) + dev->regs.gpi_val |= 0x00080000; /* TriGem Delhi-III second GPI word: - Bit 7 = Save CMOS (must be set);