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)
commit09dcd604aea065b121c635e40baf4ed2ce60e3f0
tree19ae4b300638bf742b6be6d52b9b221294e566e9
parenta508da6cc0093171833efb8376b00473f24221b9
CS89x0 : Use ioread16/iowrite16 on all platforms

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>
drivers/net/ethernet/cirrus/cs89x0.c