1 /*
2  * Copyright (c) 2002-2003 Silicon Graphics, Inc.  All Rights Reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of version 2 of the GNU General Public License
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it would be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  *
12  * Further, this software is distributed without any warranty that it is
13  * free of the rightful claim of any third person regarding infringement
14  * or the like.  Any license provided herein, whether implied or
15  * otherwise, applies only to this software file.  Patent licenses, if
16  * any, provided herein do not apply to combinations of this program with
17  * other software, or any other product whatsoever.
18  *
19  * You should have received a copy of the GNU General Public
20  * License along with this program; if not, write the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
22  *
23  * Contact information:  Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
24  * Mountain View, CA  94043, or:
25  *
26  * http://www.sgi.com
27  *
28  * For further information regarding this notice, see:
29  *
30  * http://oss.sgi.com/projects/GenInfo/NoticeExplan
31  */
32 
33 #ifndef _ASM_IA64_SN_SNDRV_H
34 #define _ASM_IA64_SN_SNDRV_H
35 
36 /* ioctl commands */
37 #define SNDRV_GET_ROUTERINFO		1
38 #define SNDRV_GET_INFOSIZE		2
39 #define SNDRV_GET_HUBINFO		3
40 #define SNDRV_GET_FLASHLOGSIZE		4
41 #define SNDRV_SET_FLASHSYNC		5
42 #define SNDRV_GET_FLASHLOGDATA		6
43 #define SNDRV_GET_FLASHLOGALL		7
44 
45 #define SNDRV_SET_HISTOGRAM_TYPE	14
46 
47 #define SNDRV_ELSC_COMMAND		19
48 #define	SNDRV_CLEAR_LOG			20
49 #define	SNDRV_INIT_LOG			21
50 #define	SNDRV_GET_PIMM_PSC		22
51 #define SNDRV_SET_PARTITION		23
52 #define SNDRV_GET_PARTITION		24
53 
54 /* see synergy_perf_ioctl() */
55 #define SNDRV_GET_SYNERGY_VERSION	30
56 #define SNDRV_GET_SYNERGY_STATUS	31
57 #define SNDRV_GET_SYNERGYINFO		32
58 #define SNDRV_SYNERGY_APPEND		33
59 #define SNDRV_SYNERGY_ENABLE		34
60 #define SNDRV_SYNERGY_FREQ		35
61 
62 /* see shubstats_ioctl() */
63 #define SNDRV_SHUB_INFOSIZE		40
64 #define SNDRV_SHUB_CONFIGURE		41
65 #define SNDRV_SHUB_RESETSTATS		42
66 #define SNDRV_SHUB_GETSTATS		43
67 #define SNDRV_SHUB_GETNASID		44
68 
69 /* Devices */
70 #define SNDRV_UKNOWN_DEVICE		-1
71 #define SNDRV_ROUTER_DEVICE		1
72 #define SNDRV_HUB_DEVICE		2
73 #define SNDRV_ELSC_NVRAM_DEVICE		3
74 #define SNDRV_ELSC_CONTROLLER_DEVICE	4
75 #define SNDRV_SYSCTL_SUBCH		5
76 #define SNDRV_SYNERGY_DEVICE		6
77 
78 #endif /* _ASM_IA64_SN_SNDRV_H */
79