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
Bugfixes to usermode 64-bit division, more work on GUI (now sizes almost correctly)
[tpg/acess2.git]
/
Modules
/
Storage
/
ATA
/
main.c
diff --git
a/Modules/Storage/ATA/main.c
b/Modules/Storage/ATA/main.c
index
a1010a8
..
3e7cb61
100644
(file)
--- a/
Modules/Storage/ATA/main.c
+++ b/
Modules/Storage/ATA/main.c
@@
-2,7
+2,7
@@
* Acess2 IDE Harddisk Driver
* - main.c
*/
* Acess2 IDE Harddisk Driver
* - main.c
*/
-#define DEBUG
1
+#define DEBUG
0
#include <acess.h>
#include <modules.h>
#include <vfs.h>
#include <acess.h>
#include <modules.h>
#include <vfs.h>
@@
-140,7
+140,8
@@
int ATA_SetupIO()
LOG("ent = %i", ent);
gATA_BusMasterBase = PCI_GetBAR4( ent );
if( gATA_BusMasterBase == 0 ) {
LOG("ent = %i", ent);
gATA_BusMasterBase = PCI_GetBAR4( ent );
if( gATA_BusMasterBase == 0 ) {
- Warning("It seems that there is no Bus Master Controller on this machine. Get one");
+ Log_Warning("ATA", "It seems that there is no Bus Master Controller on this machine. Get one");
+ // TODO: Use PIO mode instead
LEAVE('i', MODULE_ERR_NOTNEEDED);
return MODULE_ERR_NOTNEEDED;
}
LEAVE('i', MODULE_ERR_NOTNEEDED);
return MODULE_ERR_NOTNEEDED;
}
UCC
git Repository :: git.ucc.asn.au