summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpicpu.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2008-06-01 17:59:56 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2008-06-01 17:59:56 +0000
commitcbc33fb1757f353b753efe6c3cccbfaafd77470f (patch)
treeaeb2d3bad30ad0996583a2bc82639b90c65fa644 /sys/dev/acpi/acpicpu.c
parent5ffc77f9703592edda7da769bf3bf4d8797c5351 (diff)
Re-enable new parser. Lots of testing by various folks. Fits all media
now too. ok kettenis deraadt
Diffstat (limited to 'sys/dev/acpi/acpicpu.c')
-rw-r--r--sys/dev/acpi/acpicpu.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpicpu.c b/sys/dev/acpi/acpicpu.c
index 4b8903ceeaa..b8f0034a1d3 100644
--- a/sys/dev/acpi/acpicpu.c
+++ b/sys/dev/acpi/acpicpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpicpu.c,v 1.42 2008/02/07 19:53:49 pvalchev Exp $ */
+/* $OpenBSD: acpicpu.c,v 1.43 2008/06/01 17:59:55 marco Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -115,14 +115,16 @@ struct acpicpu_softc {
void (*sc_notify)(struct acpicpu_pss *, int);
};
-void acpicpu_set_throttle(struct acpicpu_softc *, int);
void acpicpu_add_cstatepkg(struct aml_value *, void *);
int acpicpu_getppc(struct acpicpu_softc *);
int acpicpu_getpct(struct acpicpu_softc *);
int acpicpu_getpss(struct acpicpu_softc *);
struct acpi_cstate *acpicpu_add_cstate(struct acpicpu_softc *, int, int, int,
int);
+#if 0
+void acpicpu_set_throttle(struct acpicpu_softc *, int);
struct acpi_cstate *acpicpu_find_cstate(struct acpicpu_softc *, int);
+#endif
struct cfattach acpicpu_ca = {
sizeof(struct acpicpu_softc), acpicpu_match, acpicpu_attach
@@ -136,6 +138,7 @@ extern int setperf_prio;
struct acpicpu_softc *acpicpu_sc[MAXCPUS];
+#if 0
void
acpicpu_set_throttle(struct acpicpu_softc *sc, int level)
{
@@ -165,6 +168,7 @@ acpicpu_find_cstate(struct acpicpu_softc *sc, int type)
return cx;
return (NULL);
}
+#endif
struct acpi_cstate *
acpicpu_add_cstate(struct acpicpu_softc *sc, int type, int latency, int power,