lkml.org 
[lkml]   [2003]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fix ppc ioremap prototype
On Thu, 4 Sep 2003 10:06:48 -0700 (PDT)
Linus Torvalds <torvalds@osdl.org> wrote:

>
> On Thu, 4 Sep 2003, David S. Miller wrote:
> >
> > > So clearly ioremap() has to work for other buses too.
> >
> > What if they are like I/O ports on x86 and require special
> > instructions to access?
>
> ioremap() is very easy to explain to a mathematician: its "domain" is
> _exactly_ that which is in the "iomem_resource" tree. The "range" is a
> virtual address.

A virtual address? On x86 IOMEM resources are stored as physical
addresses and ioremap() returns a virtual mapping of that physical
address.

Maybe our wires are just crossed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.439 / U:22.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site