Skip to content

Commit

Permalink
CS89x0 : Use ioread16/iowrite16 on all platforms
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
JacconBastiaansen authored and davem330 committed May 17, 2012
1 parent a508da6 commit 09dcd60
Showing 1 changed file with 183 additions and 158 deletions.
Loading

0 comments on commit 09dcd60

Please sign in to comment.