aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/sn
diff options
context:
space:
mode:
authorMark Goodwin <markgw@sgi.com>2005-08-16 03:50:00 -0400
committerTony Luck <tony.luck@intel.com>2005-08-24 19:23:39 -0400
commitecc3c30ae39c4d3cbf249a1ebd599465e0e25708 (patch)
tree0a5ee4e1400fc05abc230e99e4d633d9f27304bd /include/asm-ia64/sn
parent470ceb05d9a2b4d61c19fac615a79e56e8401565 (diff)
[IA64] - SGI SN hwperf enhancements - export_pci_topology
Bugfix to export PCI topology information in /proc/sgi_sn/sn_topology. Signed-off-by: Mark Goodwin <markgw@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.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/asm-ia64/sn/sn_sal.h b/include/asm-ia64/sn/sn_sal.h
index 99cb9ed34312..02d16e34fd0c 100644
--- a/include/asm-ia64/sn/sn_sal.h
+++ b/include/asm-ia64/sn/sn_sal.h
@@ -78,7 +78,8 @@
78 78
79#define SN_SAL_HUB_ERROR_INTERRUPT 0x02000060 79#define SN_SAL_HUB_ERROR_INTERRUPT 0x02000060
80#define SN_SAL_BTE_RECOVER 0x02000061 80#define SN_SAL_BTE_RECOVER 0x02000061
81#define SN_SAL_IOIF_GET_PCI_TOPOLOGY 0x02000062 81#define SN_SAL_RESERVED_DO_NOT_USE 0x02000062
82#define SN_SAL_IOIF_GET_PCI_TOPOLOGY 0x02000064
82 83
83/* 84/*
84 * Service-specific constants 85 * Service-specific constants
@@ -1069,12 +1070,10 @@ ia64_sn_hwperf_op(nasid_t nasid, u64 opcode, u64 a0, u64 a1, u64 a2,
1069} 1070}
1070 1071
1071static inline int 1072static inline int
1072ia64_sn_ioif_get_pci_topology(u64 rack, u64 bay, u64 slot, u64 slab, 1073ia64_sn_ioif_get_pci_topology(u64 buf, u64 len)
1073 u64 buf, u64 len)
1074{ 1074{
1075 struct ia64_sal_retval rv; 1075 struct ia64_sal_retval rv;
1076 SAL_CALL_NOLOCK(rv, SN_SAL_IOIF_GET_PCI_TOPOLOGY, 1076 SAL_CALL_NOLOCK(rv, SN_SAL_IOIF_GET_PCI_TOPOLOGY, buf, len, 0, 0, 0, 0, 0);
1077 rack, bay, slot, slab, buf, len, 0);
1078 return (int) rv.status; 1077 return (int) rv.status;
1079} 1078}
1080 1079