CS89x0 : Use ioread16/iowrite16 on all platforms
authorJaccon Bastiaansen <jaccon.bastiaansen@gmail.com>
Thu, 17 May 2012 07:11:42 +0000 (07:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2012 23:01:40 +0000 (19:01 -0400)
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found