aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-ia64/sn/sn_sal.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/include/asm-ia64/sn/sn_sal.h b/include/asm-ia64/sn/sn_sal.h
index 410d356b40da..581f9a783045 100644
--- a/include/asm-ia64/sn/sn_sal.h
+++ b/include/asm-ia64/sn/sn_sal.h
@@ -8,7 +8,7 @@
8 * License. See the file "COPYING" in the main directory of this archive 8 * License. See the file "COPYING" in the main directory of this archive
9 * for more details. 9 * for more details.
10 * 10 *
11 * Copyright (c) 2000-2004 Silicon Graphics, Inc. All rights reserved. 11 * Copyright (c) 2000-2005 Silicon Graphics, Inc. All rights reserved.
12 */ 12 */
13 13
14 14
@@ -77,7 +77,7 @@
77#define SN_SAL_IOIF_GET_PCI_TOPOLOGY 0x02000059 77#define SN_SAL_IOIF_GET_PCI_TOPOLOGY 0x02000059
78 78
79#define SN_SAL_HUB_ERROR_INTERRUPT 0x02000060 79#define SN_SAL_HUB_ERROR_INTERRUPT 0x02000060
80 80#define SN_SAL_BTE_RECOVER 0x02000061
81 81
82/* 82/*
83 * Service-specific constants 83 * Service-specific constants
@@ -1023,4 +1023,19 @@ ia64_sn_ioif_get_pci_topology(u64 rack, u64 bay, u64 slot, u64 slab,
1023 return (int) rv.status; 1023 return (int) rv.status;
1024} 1024}
1025 1025
1026/*
1027 * BTE error recovery is implemented in SAL
1028 */
1029static inline int
1030ia64_sn_bte_recovery(nasid_t nasid)
1031{
1032 struct ia64_sal_retval rv;
1033
1034 rv.status = 0;
1035 SAL_CALL_NOLOCK(rv, SN_SAL_BTE_RECOVER, 0, 0, 0, 0, 0, 0, 0);
1036 if (rv.status == SALRET_NOT_IMPLEMENTED)
1037 return 0;
1038 return (int) rv.status;
1039}
1040
1026#endif /* _ASM_IA64_SN_SN_SAL_H */ 1041#endif /* _ASM_IA64_SN_SN_SAL_H */