diff options
author | Mark Goodwin <markgw@sgi.com> | 2005-04-25 16:04:22 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-04-25 16:04:22 -0400 |
commit | 4a5c13c7eb0d55bfd2cf3100c55f1e3d8df37576 (patch) | |
tree | 400e51f79f9ba6d34c66401e1760a51e792d14aa /include | |
parent | 30325d17715302a60c9afdaacaafaeb056b7e880 (diff) |
[IA64-SGI] Altix SN topology support for new chipsets and pci topology
please accept this patch to the Altix SN platform topology export
interface to support new chipsets and to export PCI topology.
This follows on top of Jack Steiner's patch dated March 1st
("New chipset support for SN platform").
Signed-off-by: Mark Goodwin <markgw@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 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-ia64/sn/sn_sal.h b/include/asm-ia64/sn/sn_sal.h index 81a1cf1e4f5a..410d356b40da 100644 --- a/include/asm-ia64/sn/sn_sal.h +++ b/include/asm-ia64/sn/sn_sal.h | |||
@@ -74,6 +74,7 @@ | |||
74 | #define SN_SAL_IOIF_GET_PCIBUS_INFO 0x02000056 | 74 | #define SN_SAL_IOIF_GET_PCIBUS_INFO 0x02000056 |
75 | #define SN_SAL_IOIF_GET_PCIDEV_INFO 0x02000057 | 75 | #define SN_SAL_IOIF_GET_PCIDEV_INFO 0x02000057 |
76 | #define SN_SAL_IOIF_GET_WIDGET_DMAFLUSH_LIST 0x02000058 | 76 | #define SN_SAL_IOIF_GET_WIDGET_DMAFLUSH_LIST 0x02000058 |
77 | #define SN_SAL_IOIF_GET_PCI_TOPOLOGY 0x02000059 | ||
77 | 78 | ||
78 | #define SN_SAL_HUB_ERROR_INTERRUPT 0x02000060 | 79 | #define SN_SAL_HUB_ERROR_INTERRUPT 0x02000060 |
79 | 80 | ||
@@ -1012,4 +1013,14 @@ ia64_sn_hwperf_op(nasid_t nasid, u64 opcode, u64 a0, u64 a1, u64 a2, | |||
1012 | return (int) rv.status; | 1013 | return (int) rv.status; |
1013 | } | 1014 | } |
1014 | 1015 | ||
1016 | static inline int | ||
1017 | ia64_sn_ioif_get_pci_topology(u64 rack, u64 bay, u64 slot, u64 slab, | ||
1018 | char *buf, u64 len) | ||
1019 | { | ||
1020 | struct ia64_sal_retval rv; | ||
1021 | SAL_CALL_NOLOCK(rv, SN_SAL_IOIF_GET_PCI_TOPOLOGY, | ||
1022 | rack, bay, slot, slab, buf, len, 0); | ||
1023 | return (int) rv.status; | ||
1024 | } | ||
1025 | |||
1015 | #endif /* _ASM_IA64_SN_SN_SAL_H */ | 1026 | #endif /* _ASM_IA64_SN_SN_SAL_H */ |