uts: make emu10k non-verbose
[unleashed.git] / include / sys / srn.h
blob6145a9810869606121a32f667c031ca64475ca80
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * CDDL HEADER END
23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #ifndef _SYS_SRN_H
28 #define _SYS_SRN_H
30 #pragma ident "%Z%%M% %I% %E% SMI"
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
37 * The following ioctl commands and structures may not exist
38 * or may have a different interpretation in a future release.
42 #define SRN_STANDBY_REQ 0xa01
43 #define SRN_SUSPEND_REQ 0xa02
44 #define SRN_NORMAL_RESUME 0xa03
45 #define SRN_CRIT_RESUME 0xa04
46 #define SRN_BATTERY_LOW 0xa05
47 #define SRN_POWER_CHANGE 0xa06
48 #define SRN_UPDATE_TIME 0xa07
49 #define SRN_CRIT_SUSPEND_REQ 0xa08
50 #define SRN_USER_STANDBY_REQ 0xa09
51 #define SRN_USER_SUSPEND_REQ 0xa0a
52 #define SRN_SYS_STANDBY_RESUME 0xa0b
53 #define SRN_IOC_NEXTEVENT 0xa0c
54 #define SRN_IOC_RESUME 0xa0d
55 #define SRN_IOC_SUSPEND 0xa0e
56 #define SRN_IOC_STANDBY 0xa0f
57 #define SRN_IOC_AUTOSX 0xa10 /* change behavior of driver */
59 typedef struct srn_event_info
61 int ae_type;
63 } srn_event_info_t;
65 #ifdef _KERNEL
67 #define SRN_MAX_CLONE 8 /* only two consumer known */
69 #define SRN_TYPE_APM 1
70 #define SRN_TYPE_AUTOSX 2
72 #endif
75 #ifdef __cplusplus
77 #endif
79 #endif /* _SYS_SRN_H */