Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add an event for situations where some kind of power...



details:   https://anonhg.NetBSD.org/src/rev/d6915b02ede9
branches:  trunk
changeset: 789011:d6915b02ede9
user:      rkujawa <rkujawa%NetBSD.org@localhost>
date:      Sun Aug 04 00:21:56 2013 +0000

description:
Add an event for situations where some kind of power source change occurs.

diffstat:

 sys/sys/pmf.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 215ebc4de300 -r d6915b02ede9 sys/sys/pmf.h
--- a/sys/sys/pmf.h     Sat Aug 03 22:12:23 2013 +0000
+++ b/sys/sys/pmf.h     Sun Aug 04 00:21:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmf.h,v 1.19 2013/04/06 13:19:25 martin Exp $ */
+/* $NetBSD: pmf.h,v 1.20 2013/08/04 00:21:56 rkujawa Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -49,7 +49,8 @@
        PMFE_CHASSIS_LID_OPEN,
        PMFE_RADIO_ON,
        PMFE_RADIO_OFF,
-       PMFE_RADIO_TOGGLE
+       PMFE_RADIO_TOGGLE,
+       PMFE_POWER_CHANGED
 } pmf_generic_event_t;
 
 struct pmf_qual {



Home | Main Index | Thread Index | Old Index