From cecf8261383d93994cfc83414b91dde23f9d6177 Mon Sep 17 00:00:00 2001 From: njl Date: Mon, 4 Apr 2005 15:51:13 +0000 Subject: 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. --- sys/modules/cpufreq/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'sys/modules/cpufreq/Makefile') 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 -- cgit v1.1