From 30e5aa322bf253cdf48cddf53a1c8a1e9720e705 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 24 Aug 2024 15:46:47 +0200 Subject: [CG] Add button control and worked on improving CG. Signed-off-by: Amlal El Mahrouss --- dev/ZKA/HALKit/AMD64/Storage/ATA-PIO.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/ZKA/HALKit') diff --git a/dev/ZKA/HALKit/AMD64/Storage/ATA-PIO.cxx b/dev/ZKA/HALKit/AMD64/Storage/ATA-PIO.cxx index acca5dd4..8ab97940 100644 --- a/dev/ZKA/HALKit/AMD64/Storage/ATA-PIO.cxx +++ b/dev/ZKA/HALKit/AMD64/Storage/ATA-PIO.cxx @@ -33,7 +33,7 @@ static Char kATAData[kATADataLen] = {0}; Boolean drv_std_wait_io(UInt16 IO) { - for (int i = 0; i < 4; i++) + for (int i = 0; i < 400; i++) In8(IO + ATA_REG_STATUS); ATAWaitForIO_Retry: -- cgit v1.2.3