summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpivar.h
diff options
context:
space:
mode:
authorGordon Willem Klok <gwk@cvs.openbsd.org>2007-01-31 23:30:52 +0000
committerGordon Willem Klok <gwk@cvs.openbsd.org>2007-01-31 23:30:52 +0000
commit21863e52dc1f57db88c638692064e42cf6eb19be (patch)
treeecd20330ba66f373ec27b0e499a06b741629522b /sys/dev/acpi/acpivar.h
parent63034cae876e861e61d3f799f694fd2113f446dc (diff)
Introduce acpi_hasprocfvs thats "ACPI Has Processor Frequency and Voltage
Scalling" a global flag set by acicpu attach to indicate that ACPI is handling fvs through the _PSS objects. This will fix disappearing EST/powernow when booting kernels with acpi enabled, as acpicpu isnt compiled into GENERIC yet. Also in cases where acpicpu is built in and legacy EST/powernow work but acpi is missing the _PSS object, the legacy routines will be used. tested by dim@, and Nick Nauwelaerts <nick AT nauwelaerts.net> ok marco@, dim@
Diffstat (limited to 'sys/dev/acpi/acpivar.h')
-rw-r--r--sys/dev/acpi/acpivar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h
index b96470c14c5..aa5d9e5f9ea 100644
--- a/sys/dev/acpi/acpivar.h
+++ b/sys/dev/acpi/acpivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpivar.h,v 1.33 2006/12/26 23:58:08 marco Exp $ */
+/* $OpenBSD: acpivar.h,v 1.34 2007/01/31 23:30:51 gwk Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -31,6 +31,8 @@ extern int acpi_debug;
#define dnprintf(n,x...)
#endif
+extern int acpi_hasprocfvs;
+
struct klist;
struct acpiec_softc;