Commit 9101be53 authored by Mike Frysinger's avatar Mike Frysinger Committed by Dave Jones

[CPUFREQ] cleanup kconfig options

Adds proper lines to help output of kconfig so people can find the module names.
Also fixed some broken leading spaces versus tabs.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 07844252
...@@ -16,6 +16,9 @@ config X86_POWERNOW_K8 ...@@ -16,6 +16,9 @@ config X86_POWERNOW_K8
help help
This adds the CPUFreq driver for mobile AMD Opteron/Athlon64 processors. This adds the CPUFreq driver for mobile AMD Opteron/Athlon64 processors.
To compile this driver as a module, choose M here: the
module will be called powernow-k8.
For details, take a look at <file:Documentation/cpu-freq/>. For details, take a look at <file:Documentation/cpu-freq/>.
If in doubt, say N. If in doubt, say N.
...@@ -38,6 +41,9 @@ config X86_SPEEDSTEP_CENTRINO ...@@ -38,6 +41,9 @@ config X86_SPEEDSTEP_CENTRINO
mobile CPUs. This means Intel Pentium M (Centrino) CPUs mobile CPUs. This means Intel Pentium M (Centrino) CPUs
or 64bit enabled Intel Xeons. or 64bit enabled Intel Xeons.
To compile this driver as a module, choose M here: the
module will be called speedstep-centrino.
For details, take a look at <file:Documentation/cpu-freq/>. For details, take a look at <file:Documentation/cpu-freq/>.
If in doubt, say N. If in doubt, say N.
...@@ -55,6 +61,9 @@ config X86_ACPI_CPUFREQ ...@@ -55,6 +61,9 @@ config X86_ACPI_CPUFREQ
Processor Performance States. Processor Performance States.
This driver also supports Intel Enhanced Speedstep. This driver also supports Intel Enhanced Speedstep.
To compile this driver as a module, choose M here: the
module will be called acpi-cpufreq.
For details, take a look at <file:Documentation/cpu-freq/>. For details, take a look at <file:Documentation/cpu-freq/>.
If in doubt, say N. If in doubt, say N.
...@@ -62,7 +71,7 @@ config X86_ACPI_CPUFREQ ...@@ -62,7 +71,7 @@ config X86_ACPI_CPUFREQ
comment "shared options" comment "shared options"
config X86_ACPI_CPUFREQ_PROC_INTF config X86_ACPI_CPUFREQ_PROC_INTF
bool "/proc/acpi/processor/../performance interface (deprecated)" bool "/proc/acpi/processor/../performance interface (deprecated)"
depends on PROC_FS depends on PROC_FS
depends on X86_ACPI_CPUFREQ || X86_SPEEDSTEP_CENTRINO_ACPI || X86_POWERNOW_K8_ACPI depends on X86_ACPI_CPUFREQ || X86_SPEEDSTEP_CENTRINO_ACPI || X86_POWERNOW_K8_ACPI
help help
...@@ -86,16 +95,18 @@ config X86_P4_CLOCKMOD ...@@ -86,16 +95,18 @@ config X86_P4_CLOCKMOD
slowdowns and noticeable latencies. Normally Speedstep should be used slowdowns and noticeable latencies. Normally Speedstep should be used
instead. instead.
To compile this driver as a module, choose M here: the
module will be called p4-clockmod.
For details, take a look at <file:Documentation/cpu-freq/>. For details, take a look at <file:Documentation/cpu-freq/>.
Unless you are absolutely sure say N. Unless you are absolutely sure say N.
config X86_SPEEDSTEP_LIB config X86_SPEEDSTEP_LIB
tristate tristate
default X86_P4_CLOCKMOD default X86_P4_CLOCKMOD
endif endif
endmenu endmenu
...@@ -9,6 +9,9 @@ config CPU_FREQ ...@@ -9,6 +9,9 @@ config CPU_FREQ
clock speed, you need to either enable a dynamic cpufreq governor clock speed, you need to either enable a dynamic cpufreq governor
(see below) after boot, or use a userspace tool. (see below) after boot, or use a userspace tool.
To compile this driver as a module, choose M here: the
module will be called cpufreq.
For details, take a look at <file:Documentation/cpu-freq>. For details, take a look at <file:Documentation/cpu-freq>.
If in doubt, say N. If in doubt, say N.
...@@ -16,7 +19,7 @@ config CPU_FREQ ...@@ -16,7 +19,7 @@ config CPU_FREQ
if CPU_FREQ if CPU_FREQ
config CPU_FREQ_TABLE config CPU_FREQ_TABLE
tristate tristate
config CPU_FREQ_DEBUG config CPU_FREQ_DEBUG
bool "Enable CPUfreq debugging" bool "Enable CPUfreq debugging"
...@@ -32,19 +35,26 @@ config CPU_FREQ_DEBUG ...@@ -32,19 +35,26 @@ config CPU_FREQ_DEBUG
4 to activate CPUfreq governor debugging 4 to activate CPUfreq governor debugging
config CPU_FREQ_STAT config CPU_FREQ_STAT
tristate "CPU frequency translation statistics" tristate "CPU frequency translation statistics"
select CPU_FREQ_TABLE select CPU_FREQ_TABLE
default y default y
help help
This driver exports CPU frequency statistics information through sysfs This driver exports CPU frequency statistics information through sysfs
file system file system.
To compile this driver as a module, choose M here: the
module will be called cpufreq_stats.
If in doubt, say N.
config CPU_FREQ_STAT_DETAILS config CPU_FREQ_STAT_DETAILS
bool "CPU frequency translation statistics details" bool "CPU frequency translation statistics details"
depends on CPU_FREQ_STAT depends on CPU_FREQ_STAT
help help
This will show detail CPU frequency translation table in sysfs file This will show detail CPU frequency translation table in sysfs file
system system.
If in doubt, say N.
# Note that it is not currently possible to set the other governors (such as ondemand) # Note that it is not currently possible to set the other governors (such as ondemand)
# as the default, since if they fail to initialise, cpufreq will be # as the default, since if they fail to initialise, cpufreq will be
...@@ -78,29 +88,38 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE ...@@ -78,29 +88,38 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE
endchoice endchoice
config CPU_FREQ_GOV_PERFORMANCE config CPU_FREQ_GOV_PERFORMANCE
tristate "'performance' governor" tristate "'performance' governor"
help help
This cpufreq governor sets the frequency statically to the This cpufreq governor sets the frequency statically to the
highest available CPU frequency. highest available CPU frequency.
To compile this driver as a module, choose M here: the
module will be called cpufreq_performance.
If in doubt, say Y. If in doubt, say Y.
config CPU_FREQ_GOV_POWERSAVE config CPU_FREQ_GOV_POWERSAVE
tristate "'powersave' governor" tristate "'powersave' governor"
help help
This cpufreq governor sets the frequency statically to the This cpufreq governor sets the frequency statically to the
lowest available CPU frequency. lowest available CPU frequency.
To compile this driver as a module, choose M here: the
module will be called cpufreq_powersave.
If in doubt, say Y. If in doubt, say Y.
config CPU_FREQ_GOV_USERSPACE config CPU_FREQ_GOV_USERSPACE
tristate "'userspace' governor for userspace frequency scaling" tristate "'userspace' governor for userspace frequency scaling"
help help
Enable this cpufreq governor when you either want to set the Enable this cpufreq governor when you either want to set the
CPU frequency manually or when an userspace program shall CPU frequency manually or when an userspace program shall
be able to set the CPU dynamically, like on LART be able to set the CPU dynamically, like on LART
<http://www.lartmaker.nl/>. <http://www.lartmaker.nl/>.
To compile this driver as a module, choose M here: the
module will be called cpufreq_userspace.
For details, take a look at <file:Documentation/cpu-freq/>. For details, take a look at <file:Documentation/cpu-freq/>.
If in doubt, say Y. If in doubt, say Y.
...@@ -116,6 +135,9 @@ config CPU_FREQ_GOV_ONDEMAND ...@@ -116,6 +135,9 @@ config CPU_FREQ_GOV_ONDEMAND
do fast frequency switching (i.e, very low latency frequency do fast frequency switching (i.e, very low latency frequency
transitions). transitions).
To compile this driver as a module, choose M here: the
module will be called cpufreq_ondemand.
For details, take a look at linux/Documentation/cpu-freq. For details, take a look at linux/Documentation/cpu-freq.
If in doubt, say N. If in doubt, say N.
...@@ -136,6 +158,9 @@ config CPU_FREQ_GOV_CONSERVATIVE ...@@ -136,6 +158,9 @@ config CPU_FREQ_GOV_CONSERVATIVE
step-by-step latency issues between the minimum and maximum frequency step-by-step latency issues between the minimum and maximum frequency
transitions in the CPU) you will probably want to use this governor. transitions in the CPU) you will probably want to use this governor.
To compile this driver as a module, choose M here: the
module will be called cpufreq_conservative.
For details, take a look at linux/Documentation/cpu-freq. For details, take a look at linux/Documentation/cpu-freq.
If in doubt, say N. If in doubt, say N.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment