On Wed, 2007-06-13 at 14:52 +1000, David Gibson wrote:
These old-fashioned IO mapping functions no longer have any callers in
code which remains relevant on arch/powerpc. Therefore, this patch
removes them from arch/powerpc.
I think we still want a way to setup some hand crafted BATs... maybe a
special flag to pass to ioremap_flags ?
It makes sense to map some heavily accessed on chip register space with
a BAT on embedded. The reason I didn't like io_block_mapping() was
because the virtual address was hard coded. But I don't think we should
throw the baby with the bath water. If we can have it allocate the virt
address using the ioremap_bot trick, that would be a good thing to keep
around.
Ben.