xref: /netbsd-src/sys/dev/hpc/apm/apmvar.h (revision 9a25b0cb7f934e0ffb4775cdd2994069acc1eaf8)
1*9a25b0cbSuwe /*	$NetBSD: apmvar.h,v 1.5 2009/04/03 04:13:17 uwe Exp $	*/
2fc3043bcSuch /*-
3fc3043bcSuch  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
4fc3043bcSuch  * All rights reserved.
5fc3043bcSuch  *
6fc3043bcSuch  * This code is derived from software contributed to The NetBSD Foundation
7fc3043bcSuch  * by TAKEMURA Shin.
8fc3043bcSuch  *
9fc3043bcSuch  * Redistribution and use in source and binary forms, with or without
10fc3043bcSuch  * modification, are permitted provided that the following conditions
11fc3043bcSuch  * are met:
12fc3043bcSuch  * 1. Redistributions of source code must retain the above copyright
13fc3043bcSuch  *    notice, this list of conditions and the following disclaimer.
14fc3043bcSuch  * 2. Redistributions in binary form must reproduce the above copyright
15fc3043bcSuch  *    notice, this list of conditions and the following disclaimer in the
16fc3043bcSuch  *    documentation and/or other materials provided with the distribution.
17fc3043bcSuch  *
18fc3043bcSuch  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19fc3043bcSuch  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20fc3043bcSuch  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21fc3043bcSuch  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22fc3043bcSuch  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23fc3043bcSuch  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24fc3043bcSuch  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25fc3043bcSuch  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26fc3043bcSuch  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27fc3043bcSuch  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28fc3043bcSuch  * POSSIBILITY OF SUCH DAMAGE.
29fc3043bcSuch  */
30fc3043bcSuch #ifndef __DEV_APM_APMVAR_H__
31fc3043bcSuch #define __DEV_APM_APMVAR_H__
32fc3043bcSuch 
33*9a25b0cbSuwe #include <dev/apm/apmvar.h>
34fc3043bcSuch 
35fc3043bcSuch struct apmdev_attach_args {
36fc3043bcSuch 	struct apm_accessops *accessops;
37fc3043bcSuch 	void *accesscookie;
38fc3043bcSuch 	u_int apm_detail;
39fc3043bcSuch };
40fc3043bcSuch 
41fc3043bcSuch int apmprint(void *, const char *);
42fc3043bcSuch void machine_sleep(void);
43fc3043bcSuch void machine_standby(void);
44fc3043bcSuch 
45fc3043bcSuch #endif /* __DEV_APM_APMVAR_H__ */
46