[SSB]: Use ioreadX() and iowriteX() for PCI.
authorMichael Buesch <mb@bu3sch.de>
Wed, 19 Sep 2007 16:53:44 +0000 (18:53 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:20 +0000 (16:52 -0700)
commit4b402c65a3a17257af45875159395278e4a2f0cd
tree0a3f3cad8fbcd4c331cc723fbb778fb3d4af2f09
parentb85b3b7af52d1c1bd45bfcd47aa425a15fda45f7
[SSB]: Use ioreadX() and iowriteX() for PCI.

On a PCI bus use ioreadX() and iowriteX().
We map the I/O space with pci_iomap(), so we must use the correct
accessor functions, too.
readX() and writeX() are not guaranteed to accept the cookie returned
from pci_iomap() (though, it currently works on most architectures).

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ssb/pci.c