summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2009-05-31 09:01:23 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2009-05-31 09:01:23 +0000
commit26eb077d03ce2428a7a964e447dda200bad10c5e (patch)
tree68e9cc27632ead148046131d457acbcb47410c80 /sys/modules
parent71b3aa67385738a9468cd53579db0bab9d9e1b11 (diff)
downloadFreeBSD-src-26eb077d03ce2428a7a964e447dda200bad10c5e.zip
FreeBSD-src-26eb077d03ce2428a7a964e447dda200bad10c5e.tar.gz
Introduce support for cpufreq on PowerPC with the dynamic frequency
switching capabilities of the MPC7447A and MPC7448.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile1
-rw-r--r--sys/modules/cpufreq/Makefile5
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index ef6373a..6a04d5e 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -576,6 +576,7 @@ _xe= xe
.if ${MACHINE_ARCH} == "powerpc"
_an= an
_bm= bm
+_cpufreq= cpufreq
_nvram= powermac_nvram
_smbfs= smbfs
_sound= sound
diff --git a/sys/modules/cpufreq/Makefile b/sys/modules/cpufreq/Makefile
index 108c2b1..4e385b4 100644
--- a/sys/modules/cpufreq/Makefile
+++ b/sys/modules/cpufreq/Makefile
@@ -19,4 +19,9 @@ SRCS+= est.c hwpstate.c p4tcc.c powernow.c
SRCS+= smist.c
.endif
+.if ${MACHINE} == "powerpc"
+.PATH: ${.CURDIR}/../../powerpc/cpufreq
+SRCS+= dfs.c
+.endif
+
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud