[2.5.35] CPUfreq i386 drivers (3/5)
PATCH 1/1 [2.5.35] CPUfreq i386 drivers (3/5)
CPUFreq i386 drivers for 2.5.35: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/longrun.c CPUFreq driver for Transmeta Crusoe processorsarch/i386/kernel/cpu/cpufreq/p4-clockmod.c CPUFreq driver for Pentium 4 Xeon processors (using clock modulation)arch/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 +12 -0
@@ -190,6 +190,18 @@ 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" = "y" ]; then + define_bool CONFIG_CPU_FREQ_26_API y + 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 + tristate ' Intel Pentium 4 clock modulation' CONFIG_X86_P4_CLOCKMOD + tristate ' Transmeta LongRun' CONFIG_X86_LONGRUN +fi tristate 'Toshiba Laptop support' CONFIG_TOSHIBA tristate 'Dell laptop support' CONFIG_I8K
arch/i386/kernel/cpu/Makefile +5 -0
@@ -15,4 +15,9 @@ obj-$(CONFIG_MTRR) += mtrr/ +ifdef CONFIG_CPU_FREQ +obj-y += cpufreq/ +obj-m += cpufreq/ +endif + include $(TOPDIR)/Rules.make
arch/i386/kernel/cpu/cpufreq/Makefile +10 -0
@@ -0,0 +1,10 @@ +O_TARGET := built-in.o + +obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o +obj-$(CONFIG_X86_LONGHAUL) += longhaul.o +obj-$(CONFIG_X86_SPEEDSTEP) += speedstep.o +obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o +obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o +obj-$(CONFIG_X86_LONGRUN) += longrun.o + +include $(TOPDIR)/Rules.make
arch/i386/kernel/cpu/cpufreq/elanfreq.c +336 -0
336 lines not on this page · raw message
arch/i386/kernel/cpu/cpufreq/longhaul.c +820 -0
820 lines not on this page · raw message
arch/i386/kernel/cpu/cpufreq/longrun.c +175 -0
175 lines not on this page · raw message
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c +285 -0
285 lines not on this page · raw message
arch/i386/kernel/cpu/cpufreq/powernow-k6.c +294 -0
294 lines not on this page · raw message
arch/i386/kernel/cpu/cpufreq/speedstep.c +706 -0
706 lines not on this page · raw message