[IA64] Make SN2 PCI code use ioremap rather than manually mangle the address
authorJes Sorensen <jes@sgi.com>
Mon, 18 Jun 2007 15:19:05 +0000 (17:19 +0200)
committerTony Luck <tony.luck@intel.com>
Tue, 26 Jun 2007 20:35:45 +0000 (13:35 -0700)
commit1ee27a4eedf3cc08245d395936c1bfaf80c074cc
tree7d36f5c38b3a45fc4db63b8301ff11ee3e013cde
parentc034637967881830979b5415e55578e42f806659
[IA64] Make SN2 PCI code use ioremap rather than manually mangle the address

This one changes the SN2 specific PCI drivers to use ioremap() for
obtaining the real address to access for the PCI registers instead of
manually calculating them with __IA64_UNCACHED_OFFSET.

The patch should have no real change when running on a normal Linux
kernel, but when running as a paravirtualized it is needed.

Signed-off-by: Jes Sorenson <jes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/pci/pcibr/pcibr_provider.c
arch/ia64/sn/pci/tioca_provider.c
arch/ia64/sn/pci/tioce_provider.c