Re: When to use ioremap?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 25 Apr 1999 17:52:28 +0100 (BST)


> 0xc0000 is in the ISA memory space. This area is special in that (on PC
> machines at least) you can access it without ioremap, and in fact ioremap will
> just return the original address. It's still good practice to use ioremap for
> this sort of memory though. The example of writing is to a different memory
> area for which ioremap is always needed.

Using ioremap for all cases is almost certainly going to be required in 2.3.x.
The fact its not always needed right now is one of the biggest obstacles
to supporting a more sane range of memory sizes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/