diff options
Diffstat (limited to 'include/asm-ia64/sn/sn_sal.h')
-rw-r--r-- | include/asm-ia64/sn/sn_sal.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-ia64/sn/sn_sal.h b/include/asm-ia64/sn/sn_sal.h index 123c1a50a9dc..f914f6da077c 100644 --- a/include/asm-ia64/sn/sn_sal.h +++ b/include/asm-ia64/sn/sn_sal.h | |||
@@ -64,6 +64,7 @@ | |||
64 | 64 | ||
65 | #define SN_SAL_SYSCTL_IOBRICK_PCI_OP 0x02000042 // reentrant | 65 | #define SN_SAL_SYSCTL_IOBRICK_PCI_OP 0x02000042 // reentrant |
66 | #define SN_SAL_IROUTER_OP 0x02000043 | 66 | #define SN_SAL_IROUTER_OP 0x02000043 |
67 | #define SN_SAL_SYSCTL_EVENT 0x02000044 | ||
67 | #define SN_SAL_IOIF_INTERRUPT 0x0200004a | 68 | #define SN_SAL_IOIF_INTERRUPT 0x0200004a |
68 | #define SN_SAL_HWPERF_OP 0x02000050 // lock | 69 | #define SN_SAL_HWPERF_OP 0x02000050 // lock |
69 | #define SN_SAL_IOIF_ERROR_INTERRUPT 0x02000051 | 70 | #define SN_SAL_IOIF_ERROR_INTERRUPT 0x02000051 |
@@ -850,6 +851,19 @@ ia64_sn_irtr_intr_disable(nasid_t nasid, int subch, u64 intr) | |||
850 | return (int) rv.v0; | 851 | return (int) rv.v0; |
851 | } | 852 | } |
852 | 853 | ||
854 | /* | ||
855 | * Set up a node as the point of contact for system controller | ||
856 | * environmental event delivery. | ||
857 | */ | ||
858 | static inline int | ||
859 | ia64_sn_sysctl_event_init(nasid_t nasid) | ||
860 | { | ||
861 | struct ia64_sal_retval rv; | ||
862 | SAL_CALL_REENTRANT(rv, SN_SAL_SYSCTL_EVENT, (u64) nasid, | ||
863 | 0, 0, 0, 0, 0, 0); | ||
864 | return (int) rv.v0; | ||
865 | } | ||
866 | |||
853 | /** | 867 | /** |
854 | * ia64_sn_get_fit_compt - read a FIT entry from the PROM header | 868 | * ia64_sn_get_fit_compt - read a FIT entry from the PROM header |
855 | * @nasid: NASID of node to read | 869 | * @nasid: NASID of node to read |