Module Name: src Committed By: pgoyette Date: Sun Jul 15 18:31:35 UTC 2012
Modified Files: src/sys/sys: power.h Log Message: Add a new (dummy) event type so we can use it for forcing sensors to be refreshed even when the sensor is not being monitored. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/sys/power.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/power.h diff -u src/sys/sys/power.h:1.16 src/sys/sys/power.h:1.17 --- src/sys/sys/power.h:1.16 Wed Apr 6 08:15:44 2011 +++ src/sys/sys/power.h Sun Jul 15 18:31:35 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: power.h,v 1.16 2011/04/06 08:15:44 jruoho Exp $ */ +/* $NetBSD: power.h,v 1.17 2012/07/15 18:31:35 pgoyette Exp $ */ /* * Copyright (c) 2003 Wasabi Systems, Inc. @@ -208,6 +208,13 @@ struct pswitch_state { #define PENVSYS_EVENT_CAPACITY 210 /* + * The following pseudo-event is used to force refreshing of a + * sensor that provides rnd(4) entropy, even if the sensor is not + * otherwise being monitored. + */ +#define PENVSYS_EVENT_NULL 220 + +/* * This structure defines the properties of an envsys event. */ struct penvsys_state {