patch-2.4.21 linux-2.4.21/include/asm-ia64/sn/xtalk/xtalk.h
Next file: linux-2.4.21/include/asm-ia64/sn/xtalk/xtalk_private.h
Previous file: linux-2.4.21/include/asm-ia64/sn/xtalk/xbow.h
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/asm-ia64/sn/xtalk/xtalk.h
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.20/include/asm-ia64/sn/xtalk/xtalk.h linux-2.4.21/include/asm-ia64/sn/xtalk/xtalk.h
@@ -8,6 +8,7 @@
*/
#ifndef _ASM_SN_XTALK_XTALK_H
#define _ASM_SN_XTALK_XTALK_H
+#include <linux/config.h>
/*
* xtalk.h -- platform-independent crosstalk interface
@@ -202,10 +203,19 @@
typedef void
xtalk_intr_free_f (xtalk_intr_t intr_hdl);
+#ifdef CONFIG_IA64_SGI_SN1
typedef int
xtalk_intr_connect_f (xtalk_intr_t intr_hdl, /* xtalk intr resource handle */
xtalk_intr_setfunc_f *setfunc, /* func to set intr hw */
void *setfunc_arg); /* arg to setfunc */
+#else
+typedef int
+xtalk_intr_connect_f (xtalk_intr_t intr_hdl, /* xtalk intr resource handle */
+ intr_func_t intr_func, /* xtalk intr handler */
+ void *intr_arg, /* arg to intr handler */
+ xtalk_intr_setfunc_f *setfunc, /* func to set intr hw */
+ void *setfunc_arg); /* arg to setfunc */
+#endif
typedef void
xtalk_intr_disconnect_f (xtalk_intr_t intr_hdl);
@@ -391,8 +401,5 @@
extern void xtalk_iterate(char *prefix, xtalk_iter_f *func);
-extern int xtalk_device_powerup(devfs_handle_t, xwidgetnum_t);
-extern int xtalk_device_shutdown(devfs_handle_t, xwidgetnum_t);
-
#endif /* __KERNEL__ */
#endif /* _ASM_SN_XTALK_XTALK_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)