PCMCIA fun

Richard Zidlicky rz at linux-m68k.org
Thu Mar 18 21:46:59 GMT 2004


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.

Richard



More information about the linux-pcmcia mailing list