diff options
author | Mark Maule <maule@sgi.com> | 2005-09-23 13:31:53 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-09-23 14:21:59 -0400 |
commit | 61b9cf7c6cf5077c40ad37480fa56f6574af3db5 (patch) | |
tree | dd2f5c7a770005d13910ed581128542720ee8936 /include | |
parent | 12f44f46bc9c6dc79255e661b085797af395d8da (diff) |
[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')
-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 @@ | |||
67 | #define SN_SAL_IOIF_INTERRUPT 0x0200004a | 67 | #define SN_SAL_IOIF_INTERRUPT 0x0200004a |
68 | #define SN_SAL_HWPERF_OP 0x02000050 // lock | 68 | #define SN_SAL_HWPERF_OP 0x02000050 // lock |
69 | #define SN_SAL_IOIF_ERROR_INTERRUPT 0x02000051 | 69 | #define SN_SAL_IOIF_ERROR_INTERRUPT 0x02000051 |
70 | 70 | #define SN_SAL_IOIF_PCI_SAFE 0x02000052 | |
71 | #define SN_SAL_IOIF_SLOT_ENABLE 0x02000053 | 71 | #define SN_SAL_IOIF_SLOT_ENABLE 0x02000053 |
72 | #define SN_SAL_IOIF_SLOT_DISABLE 0x02000054 | 72 | #define SN_SAL_IOIF_SLOT_DISABLE 0x02000054 |
73 | #define SN_SAL_IOIF_GET_HUBDEV_INFO 0x02000055 | 73 | #define SN_SAL_IOIF_GET_HUBDEV_INFO 0x02000055 |