[PATCH] qe_lib: Remove immrbar_virt_to_phys() function

Li Yang-r58472 LeoLi at freescale.com
Tue Oct 31 13:56:09 EST 2006


> >> I'm confused, if there are other users of immrbar_virt_to_phy() how
> >> can you get ride of it completely?
> >
> > Other users will change to use iopa() instead.  There was some bug
to
> > use iopa() with io_block_mapping area, but it is ok to use it now.
> 
> Hmm, what are the other users doing?  I think we should avoid using
> iopa.

Get physical address from virtual address.  I have considered to use
virt_to_phys(), but it is not consistent between ppc and powerpc arch.

- Leo



More information about the Linuxppc-dev mailing list