X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FStorage%2FATA%2Fio.c;h=73c33b28240a2b9cfcf4b9ce3914f5ce27b44e8b;hb=abe6c6cf7fac39102e20cd28687b24c67f4952f8;hp=c8f4fa97b679c8da3425c28cc3061dea243b9519;hpb=c6b68cc230c9b6564e2809aca3119ec8118e72ac;p=tpg%2Facess2.git diff --git a/Modules/Storage/ATA/io.c b/Modules/Storage/ATA/io.c index c8f4fa97..73c33b28 100644 --- a/Modules/Storage/ATA/io.c +++ b/Modules/Storage/ATA/io.c @@ -4,7 +4,7 @@ * * Disk Input/Output control */ -#define DEBUG 1 +#define DEBUG 0 #include #include // Needed for error codes #include @@ -368,7 +368,6 @@ int ATA_ReadDMA(Uint8 Disk, Uint64 Address, Uint Count, void *Buffer) while( gaATA_IRQs[cont] == 0 && now() < timeoutTime) { HALT(); -// Threads_Yield(); } // Complete Transfer @@ -471,7 +470,6 @@ int ATA_WriteDMA(Uint8 Disk, Uint64 Address, Uint Count, const void *Buffer) timeoutTime = now() + ATA_TIMEOUT; while( gaATA_IRQs[cont] == 0 && now() < timeoutTime) { -// Threads_Yield(); HALT(); }