On Wed, 01 Aug 2007 17:13:15 +0400 Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> wrote: > Maciej W. Rozycki 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? ;-) Nope. This is one problem for example with ioremap on a Pentium Pro.