Proposed changes to io.h

John Whitney johnw at
Thu Apr 1 04:40:15 EST 2004

>> 1. Modifications to virt_to_bus, bus_to_virt, virt_to_phys, and
>> phys_to_virt.  With the use of fully virtual addresses for
> These are all obsolete interface and you're not supposed to use them
> for new plattforms or drivers at all.

Just out of curiosity, are there replacements or are you just supposed
to do good-practice things like store the dma address returned by

> Standard-naming for those are readq/writeq afaik

Specifically, the MTD code looks for __raw_readll/writell, which is why
I used the convention I did.  I'll be happy to update the names if


** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list