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 - Error (instead of EOK) on IO failure
[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
28ae899
..
5c979e4
100644
(file)
--- a/
KernelLand/Modules/Storage/ATA/io.c
+++ b/
KernelLand/Modules/Storage/ATA/io.c
@@
-153,8
+153,8
@@
int ATA_SetupIO(void)
outb(base+0x03, 0xFF);
if(inb(base+0x02) != 0x66 || inb(base+0x03) != 0xFF) {
Log_Error("ATA", "Unable to write to 0x%x/0x%x", base+2, base+3);
- LEAVE('i',
0
);
- return
0
;
+ LEAVE('i',
MODULE_ERR_MISC
);
+ return
MODULE_ERR_MISC
;
}
}
UCC
git Repository :: git.ucc.asn.au