summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-31 05:23:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-31 05:23:34 +0000
commitc06fa02432169ca616ff550b4d24d80656030da6 (patch)
tree426368009948e70215dfc160b448e075ddec4254 /sys/arch/zaurus
parent27bd33adf110e69f50421a7db1906522e388aa81 (diff)
show the speed status in hw.cpuspeed; ok drahn
Diffstat (limited to 'sys/arch/zaurus')
-rw-r--r--sys/arch/zaurus/dev/zaurus_apm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_apm.c b/sys/arch/zaurus/dev/zaurus_apm.c
index 6ae4960c825..7678c021df7 100644
--- a/sys/arch/zaurus/dev/zaurus_apm.c
+++ b/sys/arch/zaurus/dev/zaurus_apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zaurus_apm.c,v 1.9 2005/10/31 04:56:14 drahn Exp $ */
+/* $OpenBSD: zaurus_apm.c,v 1.10 2005/10/31 05:23:33 deraadt Exp $ */
/*
* Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de>
@@ -148,6 +148,7 @@ void zapm_power_info(struct pxa2x0_apm_softc *, struct apm_power_info *);
void zapm_suspend(struct pxa2x0_apm_softc *);
int zapm_resume(struct pxa2x0_apm_softc *);
int pxa2x0_setperf(int);
+int pxa2x0_cpuspeed(int *);
int
@@ -195,6 +196,7 @@ apm_attach(struct device *parent, struct device *self, void *aux)
#endif
cpu_setperf = pxa2x0_setperf;
+ cpu_cpuspeed = pxa2x0_cpuspeed;
}
#if 0