patch-2.4.21 linux-2.4.21/include/asm-ia64/sn/ksys/elsc.h
Next file: linux-2.4.21/include/asm-ia64/sn/ksys/l1.h
Previous file: linux-2.4.21/include/asm-ia64/sn/klconfig.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/asm-ia64/sn/ksys/elsc.h
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.20/include/asm-ia64/sn/ksys/elsc.h linux-2.4.21/include/asm-ia64/sn/ksys/elsc.h
@@ -9,8 +9,11 @@
#ifndef _ASM_SN_KSYS_ELSC_H
#define _ASM_SN_KSYS_ELSC_H
+#include <linux/config.h>
#include <asm/sn/ksys/l1.h>
+#ifdef CONFIG_IA64_SGI_SN1
+
#define ELSC_ACP_MAX 86 /* 84+cr+lf */
#define ELSC_LINE_MAX (ELSC_ACP_MAX - 2)
@@ -73,7 +76,6 @@
int elsc_power_cycle(elsc_t *e);
int elsc_system_reset(elsc_t *e);
int elsc_dip_switches(elsc_t *e);
-int elsc_nic_get(elsc_t *e, uint64_t *nic, int verbose);
int _elsc_hbt(elsc_t *e, int ival, int rdly);
@@ -83,6 +85,9 @@
elsc_t *get_elsc(void);
+#endif /* CONFIG_IA64_SGI_SN1 */
+
+
/*
* Error codes
*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)