[PATCH] ARM: fix __io macro for PCMCIA

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Apr 4 08:56:24 EDT 2012


On Wed, Apr 04, 2012 at 10:27:30AM +0000, Arnd Bergmann wrote:
> On Wednesday 04 April 2012, Russell King - ARM Linux wrote:
> > On Tue, Apr 03, 2012 at 10:11:52PM -0500, Rob Herring wrote:
> > > With commit c334bc1 (ARM: make mach/io.h include optional), PCMCIA was
> > > broken as PCMCIA depends on __io() being just a cast. This needs a better
> > > fix with a fixed i/o address mapping, but for now we just restore things
> > > to the previous behavior.
> > 
> > And what about systems with PCI IO at non-zero offsets with cardbus/pcmcia?
> > This is broken and your assumption above is wrong.
> 
> I would think they all still use their own mach/io.h. Which ones are you
> thinking of?

But they don't need the IO_SPACE_LIMIT messed around with - it should
remain at 64K not 4GB.



More information about the linux-arm-kernel mailing list