[PATCH 1/4] ucc_geth: Change private immrbar_virt_to_phys to generic iopa

Li Yang-r58472 LeoLi at freescale.com
Wed Feb 7 20:34:18 EST 2007


> On Feb 6, 2007, at 5:31 AM, Li Yang wrote:
> 
> > Get rid of private immrbar_virt_to_phys() routine and
> > use generic iopa().
> 
> Nack. iopa() isn't that generic, shouldn't we really be using the dma
> mapping API here?

Do you mean the dma_map_single()?  dma_map_single can map memory space
correctly, but I don't think it can handle ioremap-ed space.

- Leo



More information about the Linuxppc-dev mailing list