commit | 4b402c65a3a17257af45875159395278e4a2f0cd | [log] [tgz] |
---|---|---|
author | Michael Buesch <mb@bu3sch.de> | Wed Sep 19 18:53:44 2007 +0200 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:52:20 2007 -0700 |
tree | 0a3f3cad8fbcd4c331cc723fbb778fb3d4af2f09 | |
parent | b85b3b7af52d1c1bd45bfcd47aa425a15fda45f7 [diff] |
[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>