[IA64-SGI] fix sn_pci_legacy_read/fix sn_pci_legacy_write
authorMark Maule <maule@sgi.com>
Fri, 23 Sep 2005 17:31:53 +0000 (12:31 -0500)
committerTony Luck <tony.luck@intel.com>
Fri, 23 Sep 2005 18:21:59 +0000 (11:21 -0700)
commit61b9cf7c6cf5077c40ad37480fa56f6574af3db5
treedd2f5c7a770005d13910ed581128542720ee8936
parent12f44f46bc9c6dc79255e661b085797af395d8da
[IA64-SGI] fix sn_pci_legacy_read/fix sn_pci_legacy_write

This patch adds a #define for SN_SAL_IOIF_PCI_SAFE and makes that the
preferred method of implementing sn_pci_legacy_read() and
sn_pci_legacy_write().

This SAL call has been present in SGI proms since version 4.10.  If the
SN_SAL_IOIF_PCI_SAFE call fails, revert to the previous code for compatability
with older proms.

Signed-off-by: Mark Maule <maule@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/pci/pci_dma.c
include/asm-ia64/sn/sn_sal.h