[2.5.35] CPUfreq /proc/sys/ API emulation (5/5)
PATCH 1/1 [2.5.35] CPUfreq /proc/sys/ API emulation (5/5)
CPUFreq 24-API add-on patch for 2.5.35:kernel/cpufreq.c cpufreq-24-APIinclude/linux/cpufreq.h cpufreq-24-APIarch/i386/config.in Transmeta LongRun does not work well with cpufreq-24-APIarch/i386/Config.help help text for CONFIG_CPU_FREQ_24_API
arch/i386/Config.help +13 -0
@@ -850,6 +850,19 @@ If in doubt, say N. +CONFIG_CPU_FREQ_24_API + This enables the /proc/sys/cpu/ sysctl interface for controlling + CPUFreq, as known from the 2.4.-kernel patches for CPUFreq. Note + that some drivers do not support this interface or offer less + functionality. + + If you say N here, you'll be able to control CPUFreq using the + new /proc/cpufreq interface. + + For details, take a look at linux/Documentation/cpufreq. + + If in doubt, say N. + CONFIG_X86_POWERNOW_K6 This adds the CPUFreq driver for mobile AMD K6-2+ and mobile AMD K6-3+ processors.
arch/i386/config.in +7 -2
@@ -192,7 +192,10 @@ bool 'CPU Frequency scaling' CONFIG_CPU_FREQ if [ "$CONFIG_CPU_FREQ" = "y" ]; then - define_bool CONFIG_CPU_FREQ_26_API y + bool ' /proc/sys/cpu/ interface (2.4.)' CONFIG_CPU_FREQ_24_API + if [ "$CONFIG_CPU_FREQ_24_API" = "n" ]; then + define_bool CONFIG_CPU_FREQ_26_API y + fi tristate ' AMD Mobile K6-2/K6-3 PowerNow!' CONFIG_X86_POWERNOW_K6 if [ "$CONFIG_MELAN" = "y" ]; then tristate ' AMD Elan' CONFIG_ELAN_CPUFREQ
@@ -200,7 +203,9 @@ 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 + if [ "$CONFIG_CPU_FREQ_24_API" = "n" ]; then + tristate ' Transmeta LongRun' CONFIG_X86_LONGRUN + fi fi tristate 'Toshiba Laptop support' CONFIG_TOSHIBA
include/linux/cpufreq.h +94 -0
98 lines not on this page · raw message
kernel/cpufreq.c +426 -0
468 lines not on this page · raw message