Matthew Wilcox willy at debian.org
Thu Mar 18 14:13:34 GMT 2004

On Thu, Mar 18, 2004 at 11:50:48AM +0100, Richard Zidlicky wrote:
> so far, every time I stumbled over a readl in a driver it was a missing

It's perfectly legal to ioremap() ISA memory and call readl() on it.
If you don't believe me, see Linus' words on the matter:

--- begin quopte from Documentation/IO-mapping.txt ---
There is a completely different type of memory too, and that's the "shared
memory" on the PCI or ISA bus. That's generally not RAM (although in the case
of a video graphics card it can be normal DRAM that is just used for a frame
buffer), but can be things like a packet buffer in a network card etc. 

This memory is called "PCI memory" or "shared memory" or "IO memory" or
whatever, and there is only one way to access it: the readb/writeb and
related functions.
--- end quote ---

(ok, this document isn't quite up to date, but this is the clear intention
from reading the rest of the file).

"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

More information about the linux-pcmcia mailing list