git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modules/ATA - A little more debug
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Storage
/
ATA
/
io.c
diff --git
a/KernelLand/Modules/Storage/ATA/io.c
b/KernelLand/Modules/Storage/ATA/io.c
index
b8a15d0
..
89f1a46
100644
(file)
--- a/
KernelLand/Modules/Storage/ATA/io.c
+++ b/
KernelLand/Modules/Storage/ATA/io.c
@@
-371,6
+371,10
@@
int ATA_ReadDMA(Uint8 Disk, Uint64 Address, Uint Count, void *Buffer)
{
HALT();
}
+
+ if( now() >= timeoutTime ) {
+ Log_Notice("ATA", "Timeout of %i ms exceeded", ATA_TIMEOUT);
+ }
// Complete Transfer
ATA_int_BusMasterWriteByte( cont * 8, 8 ); // Read and stop
UCC
git Repository :: git.ucc.asn.au