[PATCH v2] ARM: fix __io macro for PCMCIA

Tony Lindgren tony at atomide.com
Wed Apr 4 20:47:58 EDT 2012


* Rob Herring <robherring2 at gmail.com> [120404 15:51]:
> From: Rob Herring <rob.herring at calxeda.com>
> 
> With commit c334bc1 (ARM: make mach/io.h include optional), PCMCIA was
> broken. PCMCIA depends on __io() returning a valid i/o address, and most
> ARM platforms require IO_SPACE_LIMIT be set to 0xffffffff for PCMCIA. This
> needs a better fix with a fixed i/o address mapping, but for now we just
> restore things to the previous behavior.
> 
> This fixes at91, omap1, pxa and sa11xx. pxa needs io.h if PCI is enabled,
> but PCMCIA is not. sa11xx already has IO_SPACE_LIMIT set to 0xffffffff,
> so it doesn't need an io.h.

Acked-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list