Hello, I wrote:
So could somebody Alchemist try to rewrite this to use ioremap() instead?
Will ioremap() work for 4 GB range? I guess not.
Of course it will. It shall work with whatever physical address space is supported by your MMU. As long as the MMU is handled correctly that is, but I guess I may have omitted this clarification as obvious.
Even on a CPU with 36-bit physical address? ;-)
WTF... I know I've typed "32-bit CPU"! :-/
Maciej
WBR, Sergei