diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-18 16:18:13 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-04-26 14:32:03 -0400 |
commit | 9101be532a3c60c7e8773868395e3b75259d84c3 (patch) | |
tree | acaaa4642ac4f3b1ccb1805a4df3eeeed7c3c6db /drivers | |
parent | 07844252ffd81ec192a62014bada1016c9703765 (diff) |
[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: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/Kconfig | 61 |
1 files changed, 43 insertions, 18 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index d155e81b5c97..993fa7b89253 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig | |||
@@ -9,6 +9,9 @@ config CPU_FREQ | |||
9 | clock speed, you need to either enable a dynamic cpufreq governor | 9 | clock speed, you need to either enable a dynamic cpufreq governor |
10 | (see below) after boot, or use a userspace tool. | 10 | (see below) after boot, or use a userspace tool. |
11 | 11 | ||
12 | To compile this driver as a module, choose M here: the | ||
13 | module will be called cpufreq. | ||
14 | |||
12 | For details, take a look at <file:Documentation/cpu-freq>. | 15 | For details, take a look at <file:Documentation/cpu-freq>. |
13 | 16 | ||
14 | If in doubt, say N. | 17 | If in doubt, say N. |
@@ -16,7 +19,7 @@ config CPU_FREQ | |||
16 | if CPU_FREQ | 19 | if CPU_FREQ |
17 | 20 | ||
18 | config CPU_FREQ_TABLE | 21 | config CPU_FREQ_TABLE |
19 | tristate | 22 | tristate |
20 | 23 | ||
21 | config CPU_FREQ_DEBUG | 24 | config CPU_FREQ_DEBUG |
22 | bool "Enable CPUfreq debugging" | 25 | bool "Enable CPUfreq debugging" |
@@ -32,19 +35,26 @@ config CPU_FREQ_DEBUG | |||
32 | 4 to activate CPUfreq governor debugging | 35 | 4 to activate CPUfreq governor debugging |
33 | 36 | ||
34 | config CPU_FREQ_STAT | 37 | config CPU_FREQ_STAT |
35 | tristate "CPU frequency translation statistics" | 38 | tristate "CPU frequency translation statistics" |
36 | select CPU_FREQ_TABLE | 39 | select CPU_FREQ_TABLE |
37 | default y | 40 | default y |
38 | help | 41 | help |
39 | This driver exports CPU frequency statistics information through sysfs | 42 | This driver exports CPU frequency statistics information through sysfs |
40 | file system | 43 | file system. |
44 | |||
45 | To compile this driver as a module, choose M here: the | ||
46 | module will be called cpufreq_stats. | ||
47 | |||
48 | If in doubt, say N. | ||
41 | 49 | ||
42 | config CPU_FREQ_STAT_DETAILS | 50 | config CPU_FREQ_STAT_DETAILS |
43 | bool "CPU frequency translation statistics details" | 51 | bool "CPU frequency translation statistics details" |
44 | depends on CPU_FREQ_STAT | 52 | depends on CPU_FREQ_STAT |
45 | help | 53 | help |
46 | This will show detail CPU frequency translation table in sysfs file | 54 | This will show detail CPU frequency translation table in sysfs file |
47 | system | 55 | system. |
56 | |||
57 | If in doubt, say N. | ||
48 | 58 | ||
49 | # Note that it is not currently possible to set the other governors (such as ondemand) | 59 | # Note that it is not currently possible to set the other governors (such as ondemand) |
50 | # as the default, since if they fail to initialise, cpufreq will be | 60 | # as the default, since if they fail to initialise, cpufreq will be |
@@ -78,29 +88,38 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE | |||
78 | endchoice | 88 | endchoice |
79 | 89 | ||
80 | config CPU_FREQ_GOV_PERFORMANCE | 90 | config CPU_FREQ_GOV_PERFORMANCE |
81 | tristate "'performance' governor" | 91 | tristate "'performance' governor" |
82 | help | 92 | help |
83 | This cpufreq governor sets the frequency statically to the | 93 | This cpufreq governor sets the frequency statically to the |
84 | highest available CPU frequency. | 94 | highest available CPU frequency. |
85 | 95 | ||
96 | To compile this driver as a module, choose M here: the | ||
97 | module will be called cpufreq_performance. | ||
98 | |||
86 | If in doubt, say Y. | 99 | If in doubt, say Y. |
87 | 100 | ||
88 | config CPU_FREQ_GOV_POWERSAVE | 101 | config CPU_FREQ_GOV_POWERSAVE |
89 | tristate "'powersave' governor" | 102 | tristate "'powersave' governor" |
90 | help | 103 | help |
91 | This cpufreq governor sets the frequency statically to the | 104 | This cpufreq governor sets the frequency statically to the |
92 | lowest available CPU frequency. | 105 | lowest available CPU frequency. |
93 | 106 | ||
107 | To compile this driver as a module, choose M here: the | ||
108 | module will be called cpufreq_powersave. | ||
109 | |||
94 | If in doubt, say Y. | 110 | If in doubt, say Y. |
95 | 111 | ||
96 | config CPU_FREQ_GOV_USERSPACE | 112 | config CPU_FREQ_GOV_USERSPACE |
97 | tristate "'userspace' governor for userspace frequency scaling" | 113 | tristate "'userspace' governor for userspace frequency scaling" |
98 | help | 114 | help |
99 | Enable this cpufreq governor when you either want to set the | 115 | Enable this cpufreq governor when you either want to set the |
100 | CPU frequency manually or when an userspace program shall | 116 | CPU frequency manually or when an userspace program shall |
101 | be able to set the CPU dynamically, like on LART | 117 | be able to set the CPU dynamically, like on LART |
102 | <http://www.lartmaker.nl/>. | 118 | <http://www.lartmaker.nl/>. |
103 | 119 | ||
120 | To compile this driver as a module, choose M here: the | ||
121 | module will be called cpufreq_userspace. | ||
122 | |||
104 | For details, take a look at <file:Documentation/cpu-freq/>. | 123 | For details, take a look at <file:Documentation/cpu-freq/>. |
105 | 124 | ||
106 | If in doubt, say Y. | 125 | If in doubt, say Y. |
@@ -116,6 +135,9 @@ config CPU_FREQ_GOV_ONDEMAND | |||
116 | do fast frequency switching (i.e, very low latency frequency | 135 | do fast frequency switching (i.e, very low latency frequency |
117 | transitions). | 136 | transitions). |
118 | 137 | ||
138 | To compile this driver as a module, choose M here: the | ||
139 | module will be called cpufreq_ondemand. | ||
140 | |||
119 | For details, take a look at linux/Documentation/cpu-freq. | 141 | For details, take a look at linux/Documentation/cpu-freq. |
120 | 142 | ||
121 | If in doubt, say N. | 143 | If in doubt, say N. |
@@ -136,6 +158,9 @@ config CPU_FREQ_GOV_CONSERVATIVE | |||
136 | step-by-step latency issues between the minimum and maximum frequency | 158 | step-by-step latency issues between the minimum and maximum frequency |
137 | transitions in the CPU) you will probably want to use this governor. | 159 | transitions in the CPU) you will probably want to use this governor. |
138 | 160 | ||
161 | To compile this driver as a module, choose M here: the | ||
162 | module will be called cpufreq_conservative. | ||
163 | |||
139 | For details, take a look at linux/Documentation/cpu-freq. | 164 | For details, take a look at linux/Documentation/cpu-freq. |
140 | 165 | ||
141 | If in doubt, say N. | 166 | If in doubt, say N. |