From ba40364bc82ea9c4440c4f2aae01e2c98f0985f3 Mon Sep 17 00:00:00 2001 From: theStack Date: Wed, 2 Sep 2009 16:26:35 +0200 Subject: [PATCH] fixed dma_addr() macro in ohci.c --- ohci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohci.c b/ohci.c index 55b887e..04550f9 100644 --- a/ohci.c +++ b/ohci.c @@ -15,7 +15,7 @@ Copyright (C) 2009 Sebastian Falbesoner #define gecko_printf printf #define set32(address, flags) write32(address, read32(address) | flags) -#define dma_addr(address) (u32)address +#define dma_addr(address) virt_to_phys(address) static struct ohci_hcca hcca_oh0; -- 2.25.1