consistent_alloc() on PPC

Matt Porter mporter at kernel.crashing.org
Thu Jan 20 01:04:46 EST 2005


On Wed, Jan 19, 2005 at 05:23:17PM +0530, Sachin P wrote:
> Hi , 
> I am facing some problems porting my drivers to the PPC platform . Am
> currently using consistent_alloc() and consistent_free() to
> allocate/free (non-cached) DMA ble memory.
> Is there any function/patch/macro, equivalent to
> phy_to_virt()/virt_to_phy() for memory returned by consistent_alloc()?

iopa()

-Matt



More information about the Linuxppc-dev mailing list