diff options
author | Mark Maule <maule@sgi.com> | 2005-09-23 12:31:53 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-09-23 11:21:59 -0700 |
commit | 61b9cf7c6cf5077c40ad37480fa56f6574af3db5 (patch) | |
tree | dd2f5c7a770005d13910ed581128542720ee8936 /include/asm-ia64/sn | |
parent | 12f44f46bc9c6dc79255e661b085797af395d8da (diff) | |
download | linux-stable-61b9cf7c6cf5077c40ad37480fa56f6574af3db5.tar.gz linux-stable-61b9cf7c6cf5077c40ad37480fa56f6574af3db5.tar.bz2 linux-stable-61b9cf7c6cf5077c40ad37480fa56f6574af3db5.zip |
[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>
Diffstat (limited to 'include/asm-ia64/sn')
-rw-r--r-- | include/asm-ia64/sn/sn_sal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/sn/sn_sal.h b/include/asm-ia64/sn/sn_sal.h index fea35b33d4e4..b2d32837723f 100644 --- a/include/asm-ia64/sn/sn_sal.h +++ b/include/asm-ia64/sn/sn_sal.h @@ -67,7 +67,7 @@ #define SN_SAL_IOIF_INTERRUPT 0x0200004a #define SN_SAL_HWPERF_OP 0x02000050 // lock #define SN_SAL_IOIF_ERROR_INTERRUPT 0x02000051 - +#define SN_SAL_IOIF_PCI_SAFE 0x02000052 #define SN_SAL_IOIF_SLOT_ENABLE 0x02000053 #define SN_SAL_IOIF_SLOT_DISABLE 0x02000054 #define SN_SAL_IOIF_GET_HUBDEV_INFO 0x02000055 |