From 7d4813aea7c54b0139f5f131ccb6e5e3ffcd9b05 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 15 Jun 2020 20:06:03 +0200 Subject: [PATCH] PIIX now disables IDE on hard reset, fixes the AP440FX hard reset slowness. --- src/chipset/intel_piix.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/chipset/intel_piix.c b/src/chipset/intel_piix.c index 85562b7be..43ad5abaf 100644 --- a/src/chipset/intel_piix.c +++ b/src/chipset/intel_piix.c @@ -1160,6 +1160,13 @@ piix_reset(void *p) piix_write(0, 0xa7, 0x00, p); piix_write(0, 0xa8, 0x0f, p); } + + piix_write(1, 0x04, 0x00, p); + piix_write(1, 0x41, 0x00, p); + piix_write(1, 0x43, 0x00, p); + + ide_pri_disable(); + ide_sec_disable(); }