Merge branch 'isr_test' of git://github.com/theStack/ppcskel into isr_test
[ppcskel.git] / ohci.c
diff --git a/ohci.c b/ohci.c
index 33d6034ae80d451b6fc5faf2e55f68727007b1b5..1bab91a5b7bac17c06fdfedd6629b875a0f9531f 100644 (file)
--- a/ohci.c
+++ b/ohci.c
@@ -14,7 +14,7 @@ Copyright (C) 2009     Sebastian Falbesoner <sebastian.falbesoner@gmail.com>
 #include "irq.h"
 
 #define gecko_printf printf
-#define dma_addr(address) (u32)address
+#define dma_addr(address) virt_to_phys(address)
 
 
 static struct ohci_hcca hcca_oh0;