diff options
Diffstat (limited to 'usr.sbin/apmd/apm-proto.h')
-rw-r--r-- | usr.sbin/apmd/apm-proto.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/apmd/apm-proto.h b/usr.sbin/apmd/apm-proto.h index 8f8726bb323..ce63843bc34 100644 --- a/usr.sbin/apmd/apm-proto.h +++ b/usr.sbin/apmd/apm-proto.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apm-proto.h,v 1.6 2005/12/02 04:27:52 beck Exp $ */ +/* $OpenBSD: apm-proto.h,v 1.7 2006/01/19 19:17:10 sturm Exp $ */ /* * Copyright (c) 1996 John T. Kohl @@ -48,7 +48,8 @@ enum apm_state { enum apm_perfstate { PERF_NONE, - PERF_MANUAL, + PERF_LOW, + PERF_HIGH, PERF_AUTO, PERF_COOL }; @@ -62,10 +63,11 @@ struct apm_reply { int vno; enum apm_state newstate; enum apm_perfstate perfstate; + int cpuspeed; struct apm_power_info batterystate; }; -#define APMD_VNO 2 +#define APMD_VNO 3 extern const char *battstate(int state); extern const char *ac_state(int state); |