cecf826138
the PERF_CTL/STS MSRs via the new acpi_get_features() method. This should allow newer systems to use SpeedStep.
20 lines
410 B
Makefile
20 lines
410 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/cpufreq \
|
|
${.CURDIR}/../../${MACHINE_ARCH}/cpufreq
|
|
|
|
KMOD= cpufreq
|
|
WARNS?= 2
|
|
SRCS= ichss.c
|
|
SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h
|
|
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
|
|
.PATH: ${.CURDIR}/../../i386/cpufreq
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
|
|
|
|
SRCS+= acpi_if.h opt_acpi.h
|
|
SRCS+= est.c p4tcc.c powernow.c
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|