summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/sn/sndrv.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:20:36 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:20:36 -0700
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-ia64/sn/sndrv.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/asm-ia64/sn/sndrv.h')
-rw-r--r--include/asm-ia64/sn/sndrv.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/include/asm-ia64/sn/sndrv.h b/include/asm-ia64/sn/sndrv.h
new file mode 100644
index 00000000000..aa00d42cde3
--- /dev/null
+++ b/include/asm-ia64/sn/sndrv.h
@@ -0,0 +1,47 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (c) 2002-2004 Silicon Graphics, Inc. All Rights Reserved.
+ */
+
+#ifndef _ASM_IA64_SN_SNDRV_H
+#define _ASM_IA64_SN_SNDRV_H
+
+/* ioctl commands */
+#define SNDRV_GET_ROUTERINFO 1
+#define SNDRV_GET_INFOSIZE 2
+#define SNDRV_GET_HUBINFO 3
+#define SNDRV_GET_FLASHLOGSIZE 4
+#define SNDRV_SET_FLASHSYNC 5
+#define SNDRV_GET_FLASHLOGDATA 6
+#define SNDRV_GET_FLASHLOGALL 7
+
+#define SNDRV_SET_HISTOGRAM_TYPE 14
+
+#define SNDRV_ELSC_COMMAND 19
+#define SNDRV_CLEAR_LOG 20
+#define SNDRV_INIT_LOG 21
+#define SNDRV_GET_PIMM_PSC 22
+#define SNDRV_SET_PARTITION 23
+#define SNDRV_GET_PARTITION 24
+
+/* see synergy_perf_ioctl() */
+#define SNDRV_GET_SYNERGY_VERSION 30
+#define SNDRV_GET_SYNERGY_STATUS 31
+#define SNDRV_GET_SYNERGYINFO 32
+#define SNDRV_SYNERGY_APPEND 33
+#define SNDRV_SYNERGY_ENABLE 34
+#define SNDRV_SYNERGY_FREQ 35
+
+/* Devices */
+#define SNDRV_UKNOWN_DEVICE -1
+#define SNDRV_ROUTER_DEVICE 1
+#define SNDRV_HUB_DEVICE 2
+#define SNDRV_ELSC_NVRAM_DEVICE 3
+#define SNDRV_ELSC_CONTROLLER_DEVICE 4
+#define SNDRV_SYSCTL_SUBCH 5
+#define SNDRV_SYNERGY_DEVICE 6
+
+#endif /* _ASM_IA64_SN_SNDRV_H */