[2.5.32] CPUfreq i386 drivers (3/4)
PATCH 1/1 [2.5.32] CPUfreq i386 drivers (3/4)
CPUFreq i386 drivers for 2.5.32:arch/i386/config.in Necessary config
optionsarch/i386/kernel/cpu/Makefile allow for compilation
of the CPUFreq subdirectoryarch/i386/kernel/cpu/cpufreq/Makefile Makefile for CPUFreq driversarch/i386/kernel/cpu/cpufreq/elanfreq.c CPUFreq driver for AMD Elan
processorsarch/i386/kernel/cpu/cpufreq/longhaul.c CPUFreq driver for VIA
Longhaul processorsarch/i386/kernel/cpu/cpufreq/powernow-k6.c CPUFreq driver for mobile
AMD K6-2+ and mobile AMD K6-3+ processorsarch/i386/kernel/cpu/cpufreq/speedstep.c CPUFreq drivers for ICH2-M
and ICH3-M chipsets and Intel Pentium 3-M and 4-M processors.
arch/i386/config.in +9 -0
@@ -173,6 +173,15 @@ dep_bool 'Check for non-fatal errors on Athlon/Duron' CONFIG_X86_MCE_NONFATAL $CONFIG_X86_MCE dep_bool 'check for P4 thermal throttling interrupt.' CONFIG_X86_MCE_P4THERMAL $CONFIG_X86_MCE $CONFIG_X86_UP_APIC +bool 'CPU Frequency scaling' CONFIG_CPU_FREQ +if [ "$CONFIG_CPU_FREQ" != "n" ]; then + tristate ' AMD Mobile K6-2/K6-3 PowerNow!' CONFIG_X86_POWERNOW_K6 + if [ "$CONFIG_MELAN" = "y" ]; then + tristate ' AMD Elan' CONFIG_ELAN_CPUFREQ + fi + tristate ' VIA Cyrix III Longhaul' CONFIG_X86_LONGHAUL + tristate ' Intel Speedstep' CONFIG_X86_SPEEDSTEP +fi tristate 'Toshiba Laptop support' CONFIG_TOSHIBA tristate 'Dell laptop support' CONFIG_I8K
arch/i386/kernel/cpu/Makefile +6 -0
@@ -15,4 +15,10 @@ obj-$(CONFIG_MTRR) += mtrr/ +ifdef CONFIG_CPU_FREQ +subdir-y += cpufreq +subdir-m += cpufreq +obj-y += cpufreq/cpufreq.o +endif + include $(TOPDIR)/Rules.make
arch/i386/kernel/cpu/cpufreq/Makefile +8 -0
@@ -0,0 +1,8 @@ +O_TARGET := cpufreq.o + +obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o +obj-$(CONFIG_X86_LONGHAUL) += longhaul.o +obj-$(CONFIG_X86_SPEEDSTEP) += speedstep.o +obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o + +include $(TOPDIR)/Rules.make
arch/i386/kernel/cpu/cpufreq/elanfreq.c +257 -0
257 lines not on this page · raw message
arch/i386/kernel/cpu/cpufreq/longhaul.c +700 -0
700 lines not on this page · raw message
arch/i386/kernel/cpu/cpufreq/powernow-k6.c +242 -0
242 lines not on this page · raw message
arch/i386/kernel/cpu/cpufreq/speedstep.c +656 -0
656 lines not on this page · raw message