X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=ppcskel.git;a=blobdiff_plain;f=ohci.c;h=04550f903bfeec385746e216e2b8678476fb3357;hp=55b887ec84ac9fd245f256ecdc74c26e66aba421;hb=ba40364bc82ea9c4440c4f2aae01e2c98f0985f3;hpb=3169c95c4ddd84c74a397760d617e840530c13e0 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;