PCMCIA fun

Matthew Wilcox willy at debian.org
Thu Mar 18 22:14:42 GMT 2004


On Thu, Mar 18, 2004 at 09:46:59PM +0100, Richard Zidlicky wrote:
> On Thu, Mar 18, 2004 at 02:13:34PM +0000, Matthew Wilcox wrote:
> > 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
> > > CONFIG_PCI.
> > 
> > It's perfectly legal to ioremap() ISA memory and call readl() on it.
> 
> Do you really mean readl() ?? ISA is by definition 16 bit and nobody has
> yet explained to me what is supposed to happen if I apply readl to it.
> My guess is since x86 never had dynamic bus sizing
>  readl() === readw()
> - and this is a bug in most drivers that do it.

I guess I don't (having just looked at some ISA standards).  I'm more
familiar with EISA which does support readl().  So pretend I said readb()
above.

-- 
"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