[PATCH V3] CS89x0 : Use ioread16/iowrite16 on all platforms

David Miller davem at davemloft.net
Thu May 17 19:03:46 EDT 2012


From: Jaccon Bastiaansen <jaccon.bastiaansen at gmail.com>
Date: Thu, 17 May 2012 19:11:42 +0200

> The use of the inw/outw functions by the cs89x0 platform driver
> results in NULL pointer references on ARM platforms and
> platforms that do not provide ISA-style programmed I/O accessors.
> 
> Using inw/outw also accesses the wrong address space on platforms
> that have a PCI I/O space that is not identity-mapped into the
> physical address space.
> 
> Signed-off-by: Jaccon Bastiaansen <jaccon.bastiaansen at gmail.com>

I could nit-pick more on this patch, but it's such a significant
improvement I'm just going to apply this V3 as-is to net-next.

Thanks.



More information about the linux-arm-kernel mailing list