Skip to content

Commit

Permalink
[CPUFREQ] cleanup kconfig options
Browse files Browse the repository at this point in the history
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: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Mike Frysinger authored and Dave Jones committed Apr 26, 2007
1 parent 0784425 commit 9101be5
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 22 deletions.
19 changes: 15 additions & 4 deletions arch/x86_64/kernel/cpufreq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ config X86_POWERNOW_K8
help
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/>.

If in doubt, say N.
Expand All @@ -38,6 +41,9 @@ config X86_SPEEDSTEP_CENTRINO
mobile CPUs. This means Intel Pentium M (Centrino) CPUs
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/>.

If in doubt, say N.
Expand All @@ -55,14 +61,17 @@ config X86_ACPI_CPUFREQ
Processor Performance States.
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/>.

If in doubt, say N.

comment "shared options"

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 X86_ACPI_CPUFREQ || X86_SPEEDSTEP_CENTRINO_ACPI || X86_POWERNOW_K8_ACPI
help
Expand All @@ -86,16 +95,18 @@ config X86_P4_CLOCKMOD
slowdowns and noticeable latencies. Normally Speedstep should be used
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/>.

Unless you are absolutely sure say N.


config X86_SPEEDSTEP_LIB
tristate
default X86_P4_CLOCKMOD
tristate
default X86_P4_CLOCKMOD

endif

endmenu

61 changes: 43 additions & 18 deletions drivers/cpufreq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ config CPU_FREQ
clock speed, you need to either enable a dynamic cpufreq governor
(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>.

If in doubt, say N.

if CPU_FREQ

config CPU_FREQ_TABLE
tristate
tristate

config CPU_FREQ_DEBUG
bool "Enable CPUfreq debugging"
Expand All @@ -32,19 +35,26 @@ config CPU_FREQ_DEBUG
4 to activate CPUfreq governor debugging

config CPU_FREQ_STAT
tristate "CPU frequency translation statistics"
select CPU_FREQ_TABLE
default y
help
This driver exports CPU frequency statistics information through sysfs
file system
tristate "CPU frequency translation statistics"
select CPU_FREQ_TABLE
default y
help
This driver exports CPU frequency statistics information through sysfs
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
bool "CPU frequency translation statistics details"
depends on CPU_FREQ_STAT
help
This will show detail CPU frequency translation table in sysfs file
system
bool "CPU frequency translation statistics details"
depends on CPU_FREQ_STAT
help
This will show detail CPU frequency translation table in sysfs file
system.

If in doubt, say N.

# 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
Expand Down Expand Up @@ -78,29 +88,38 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE
endchoice

config CPU_FREQ_GOV_PERFORMANCE
tristate "'performance' governor"
help
tristate "'performance' governor"
help
This cpufreq governor sets the frequency statically to the
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.

config CPU_FREQ_GOV_POWERSAVE
tristate "'powersave' governor"
help
tristate "'powersave' governor"
help
This cpufreq governor sets the frequency statically to the
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.

config CPU_FREQ_GOV_USERSPACE
tristate "'userspace' governor for userspace frequency scaling"
help
tristate "'userspace' governor for userspace frequency scaling"
help
Enable this cpufreq governor when you either want to set the
CPU frequency manually or when an userspace program shall
be able to set the CPU dynamically, like on LART
<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/>.

If in doubt, say Y.
Expand All @@ -116,6 +135,9 @@ config CPU_FREQ_GOV_ONDEMAND
do fast frequency switching (i.e, very low latency frequency
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.

If in doubt, say N.
Expand All @@ -136,6 +158,9 @@ config CPU_FREQ_GOV_CONSERVATIVE
step-by-step latency issues between the minimum and maximum frequency
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.

If in doubt, say N.
Expand Down

0 comments on commit 9101be5

Please sign in to comment.