]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1a717965a21461ab16ad9a8149cd319f2902560a
tree0a3f3cad8fbcd4c331cc723fbb778fb3d4af2f09
parent981a43af1e62ffce0b8983a7c5e2127ba263f6a5
[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