summaryrefslogtreecommitdiffstats
path: root/sys/modules/cpufreq/Makefile
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-04-04 15:51:13 +0000
committernjl <njl@FreeBSD.org>2005-04-04 15:51:13 +0000
commitcecf8261383d93994cfc83414b91dde23f9d6177 (patch)
tree67e132b477eccf25be32ce0ecb5a7bdc6517606e /sys/modules/cpufreq/Makefile
parentd86c0f0246923fef84d041bedbe5777eef2c6cbd (diff)
downloadFreeBSD-src-cecf8261383d93994cfc83414b91dde23f9d6177.zip
FreeBSD-src-cecf8261383d93994cfc83414b91dde23f9d6177.tar.gz
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.
Diffstat (limited to 'sys/modules/cpufreq/Makefile')
-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 8160f63..6cea78e 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>
OpenPOWER on IntegriCloud