aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/cpufreq
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2005-04-04 15:51:13 +0000
committerNate Lawson <njl@FreeBSD.org>2005-04-04 15:51:13 +0000
commit15785fbe8116dc90b221ddb865f9e368ebacc97c (patch)
tree67e132b477eccf25be32ce0ecb5a7bdc6517606e /sys/modules/cpufreq
parentb29224c2a0f296516f33a748c4fc33d5ed3f23da (diff)
downloadsrc-15785fbe8116dc90b221ddb865f9e368ebacc97c.tar.gz
src-15785fbe8116dc90b221ddb865f9e368ebacc97c.zip
Add support for _PDC/_OSC by advertising that we support direct access to
the PERF_CTL/STS MSRs via the new acpi_get_features() method. This should allow newer systems to use SpeedStep.
Notes
Notes: svn path=/head/; revision=144630
Diffstat (limited to 'sys/modules/cpufreq')
-rw-r--r--sys/modules/cpufreq/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/modules/cpufreq/Makefile b/sys/modules/cpufreq/Makefile
index 8160f632cbfc..6cea78ed9ecf 100644
--- a/sys/modules/cpufreq/Makefile
+++ b/sys/modules/cpufreq/Makefile
@@ -8,13 +8,12 @@ WARNS?= 2
SRCS= ichss.c
SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h
-.if ${MACHINE} == "i386"
-SRCS+= est.c p4tcc.c powernow.c
-.endif
+.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
+.PATH: ${.CURDIR}/../../i386/cpufreq
+CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
-.if ${MACHINE} == "amd64"
-.PATH: ${.CURDIR}/../../i386/cpufreq
-SRCS+= powernow.c
+SRCS+= acpi_if.h opt_acpi.h
+SRCS+= est.c p4tcc.c powernow.c
.endif
.include <bsd.kmod.mk>