Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/hpcmips/include Pull up revision 1.5 (requeste...
details: https://anonhg.NetBSD.org/src/rev/c436d4917ff6
branches: netbsd-1-5
changeset: 488902:c436d4917ff6
user: takemura <takemura%NetBSD.org@localhost>
date: Sun Aug 06 04:21:30 2000 +0000
description:
Pull up revision 1.5 (requested by takemura)
Add power management event definitions.
diffstat:
sys/arch/hpcmips/include/config_hook.h | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r 7e0692bf9e43 -r c436d4917ff6 sys/arch/hpcmips/include/config_hook.h
--- a/sys/arch/hpcmips/include/config_hook.h Sun Aug 06 04:20:01 2000 +0000
+++ b/sys/arch/hpcmips/include/config_hook.h Sun Aug 06 04:21:30 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: config_hook.h,v 1.3 2000/04/03 03:48:42 sato Exp $ */
+/* $NetBSD: config_hook.h,v 1.3.4.1 2000/08/06 04:21:30 takemura Exp $ */
/*-
* Copyright (c) 1999
@@ -34,6 +34,9 @@
*
*/
+#ifndef _CONFIG_HOOK_H_
+#define _CONFIG_HOOK_H_
+
enum config_hook_mode {
CONFIG_HOOK_SHARE,
CONFIG_HOOK_REPLACE,
@@ -81,7 +84,12 @@
#define CONFIG_HOOK_BUTTONEVENT_LIGHT_UP 17
#define CONFIG_HOOK_BUTTONEVENT_LIGHT_DOWN 18
-#define CONFIG_HOOK_NTYPES 2
+#define CONFIG_HOOK_PMEVENT 2
+#define CONFIG_HOOK_PMEVENT_STANDBYREQ 0
+#define CONFIG_HOOK_PMEVENT_SUSPENDREQ 1
+#define CONFIG_HOOK_PMEVENT_HARDPOWER 2
+
+#define CONFIG_HOOK_NTYPES 3
/*
* nicknames for including from configration file.
@@ -113,3 +121,5 @@
#define BTN_LIGHT_UP CONFIG_HOOK_BUTTONEVENT_LIGHT_UP
#define BTN_LIGHT_DN CONFIG_HOOK_BUTTONEVENT_LIGHT_DOWN
#endif /* CONFIG_HOOK_DEFINE_NICKNAME */
+
+#endif /* _CONFIG_HOOK_H_ */
Home |
Main Index |
Thread Index |
Old Index