]> git.hungrycats.org Git - linux/commitdiff
[PATCH] cpufreq: move Kconfig entries (Marc-Christian Petersen)
authorDominik Brodowski <linux@brodo.de>
Sun, 23 Feb 2003 02:57:09 +0000 (18:57 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 23 Feb 2003 02:57:09 +0000 (18:57 -0800)
Move x86 CPU_FREQ config choices to extra file & menu. (Marc-Christian Petersen)

arch/i386/Kconfig
arch/i386/kernel/cpu/cpufreq/Kconfig [new file with mode: 0644]

index 8ad95207cb9e6cddeabca6425795011c186927f6..e9098fd1e3f0d94f507917322b6f4bb9442b4006 100644 (file)
@@ -954,158 +954,7 @@ config APM_REAL_MODE_POWER_OFF
          a work-around for a number of buggy BIOSes. Switch this option on if
          your computer crashes instead of powering off properly.
 
-config CPU_FREQ
-       bool "CPU Frequency scaling"
-       help
-         Clock scaling allows you to change the clock speed of CPUs on the
-         fly. This is a nice method to save battery power on notebooks,
-         because the lower the clock speed, the less power the CPU consumes.
-
-         For more information, take a look at linux/Documentation/cpufreq or
-         at <http://www.brodo.de/cpufreq/>
-
-         If in doubt, say N.
-
-config CPU_FREQ_PROC_INTF
-       tristate "/proc/cpufreq interface (DEPRECATED)"
-       depends on CPU_FREQ && PROC_FS
-       help
-         This enables the /proc/cpufreq interface for controlling
-         CPUFreq. Please note that it is recommended to use the sysfs
-         interface instead (which is built automatically). 
-         
-         For details, take a look at linux/Documentation/cpufreq. 
-         
-         If in doubt, say N.
-
-config CPU_FREQ_24_API
-       bool "/proc/sys/cpu/ interface (2.4. / OLD)"
-       depends on CPU_FREQ
-       help
-         This enables the /proc/sys/cpu/ sysctl interface for controlling
-         CPUFreq, as known from the 2.4.-kernel patches for CPUFreq. 2.5
-         uses a sysfs interface instead. Please note that some drivers do 
-         not work well with the 2.4. /proc/sys/cpu sysctl interface,
-         so if in doubt, say N here.
-
-         For details, take a look at linux/Documentation/cpufreq. 
-
-         If in doubt, say N.
-
-config CPU_FREQ_TABLE
-       tristate "CPU frequency table helpers"
-       depends on CPU_FREQ
-       default y
-       help
-         Many CPUFreq drivers use these helpers, so only say N here if
-        the CPUFreq driver of your choice doesn't need these helpers.
-
-        If in doubt, say Y.
-
-config X86_ACPI_CPUFREQ
-       tristate "ACPI Processor P-States driver"
-       depends on CPU_FREQ_TABLE && ACPI_PROCESSOR
-       help
-         This driver adds a CPUFreq driver which utilizes the ACPI
-         Processor Performance States.
-
-         For details, take a look at linux/Documentation/cpufreq. 
-
-         If in doubt, say N.
-
-config X86_POWERNOW_K6
-       tristate "AMD Mobile K6-2/K6-3 PowerNow!"
-       depends on CPU_FREQ_TABLE
-       help
-         This adds the CPUFreq driver for mobile AMD K6-2+ and mobile
-         AMD K6-3+ processors.
-
-         For details, take a look at linux/Documentation/cpufreq. 
-
-         If in doubt, say N.
-
-config X86_POWERNOW_K7
-       tristate "AMD Mobile Athlon/Duron PowerNow!"
-       depends on CPU_FREQ_TABLE
-       help
-         This adds the CPUFreq driver for mobile AMD K7 mobile processors.
-
-         For details, take a look at linux/Documentation/cpufreq. 
-
-         If in doubt, say N.
-
-config ELAN_CPUFREQ
-       tristate "AMD Elan"
-       depends on CPU_FREQ_TABLE && MELAN
-       ---help---
-         This adds the CPUFreq driver for AMD Elan SC400 and SC410
-         processors.
-
-         You need to specify the processor maximum speed as boot
-         parameter: elanfreq=maxspeed (in kHz) or as module
-         parameter "max_freq".
-
-         For details, take a look at linux/Documentation/cpufreq. 
-
-         If in doubt, say N.
-
-config X86_LONGHAUL
-       tristate "VIA Cyrix III Longhaul"
-       depends on CPU_FREQ
-       help
-         This adds the CPUFreq driver for VIA Samuel/CyrixIII, 
-         VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T 
-         processors.
-
-         For details, take a look at linux/Documentation/cpufreq. 
-
-         If in doubt, say N.
-
-config X86_SPEEDSTEP
-       tristate "Intel Speedstep"
-       depends on CPU_FREQ_TABLE
-       help
-         This adds the CPUFreq driver for certain mobile Intel Pentium III
-         (Coppermine), all mobile Intel Pentium III-M (Tulatin) and all
-         mobile Intel Pentium 4 P4-Ms.
-
-         For details, take a look at linux/Documentation/cpufreq. 
-
-         If in doubt, say N.
-
-config X86_P4_CLOCKMOD
-       tristate "Intel Pentium 4 clock modulation"
-       depends on CPU_FREQ_TABLE
-       help
-         This adds the CPUFreq driver for Intel Pentium 4 / XEON
-         processors.
-
-         For details, take a look at linux/Documentation/cpufreq. 
-
-         If in doubt, say N.
-
-config X86_LONGRUN
-       tristate "Transmeta LongRun"
-       depends on CPU_FREQ
-       help
-         This adds the CPUFreq driver for Transmeta Crusoe processors which
-         support LongRun.
-
-         For details, take a look at linux/Documentation/cpufreq. 
-
-         If in doubt, say N.
-
-config X86_GX_SUSPMOD
-       tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation"
-       depends on CPU_FREQ
-       help
-        This add the CPUFreq driver for NatSemi Geode processors which
-        support suspend modulation.
-
-        For details, take a look at linux/Documentation/cpufreq.
-
-        If in doubt, say N.
-
+source "arch/i386/kernel/cpu/cpufreq/Kconfig"
 
 endmenu
 
diff --git a/arch/i386/kernel/cpu/cpufreq/Kconfig b/arch/i386/kernel/cpu/cpufreq/Kconfig
new file mode 100644 (file)
index 0000000..bf61dd5
--- /dev/null
@@ -0,0 +1,152 @@
+#
+# CPU Frequency scaling
+#
+
+menu "CPU Frequency scaling"
+
+config CPU_FREQ
+       bool "CPU Frequency scaling"
+       help
+         Clock scaling allows you to change the clock speed of CPUs on the
+         fly. This is a nice method to save battery power on notebooks,
+         because the lower the clock speed, the less power the CPU consumes.
+
+         For more information, take a look at linux/Documentation/cpufreq or
+         at <http://www.brodo.de/cpufreq/>
+
+         If in doubt, say N.
+
+source "drivers/cpufreq/Kconfig"
+
+config CPU_FREQ_24_API
+       bool "/proc/sys/cpu/ interface (2.4. / OLD)"
+       depends on CPU_FREQ
+       help
+         This enables the /proc/sys/cpu/ sysctl interface for controlling
+         CPUFreq, as known from the 2.4.-kernel patches for CPUFreq. 2.5
+         uses a sysfs interface instead. Please note that some drivers do 
+         not work well with the 2.4. /proc/sys/cpu sysctl interface,
+         so if in doubt, say N here.
+
+         For details, take a look at linux/Documentation/cpufreq. 
+
+         If in doubt, say N.
+
+config CPU_FREQ_TABLE
+       tristate "CPU frequency table helpers"
+       depends on CPU_FREQ
+       default y
+       help
+         Many CPUFreq drivers use these helpers, so only say N here if
+        the CPUFreq driver of your choice doesn't need these helpers.
+
+        If in doubt, say Y.
+
+comment "CPUFreq processor drivers"
+       depends on CPU_FREQ
+
+config X86_ACPI_CPUFREQ
+       tristate "ACPI Processor P-States driver"
+       depends on CPU_FREQ_TABLE && ACPI_PROCESSOR
+       help
+         This driver adds a CPUFreq driver which utilizes the ACPI
+         Processor Performance States.
+
+         For details, take a look at linux/Documentation/cpufreq. 
+
+         If in doubt, say N.
+
+config ELAN_CPUFREQ
+       tristate "AMD Elan"
+       depends on CPU_FREQ_TABLE && MELAN
+       ---help---
+         This adds the CPUFreq driver for AMD Elan SC400 and SC410
+         processors.
+
+         You need to specify the processor maximum speed as boot
+         parameter: elanfreq=maxspeed (in kHz) or as module
+         parameter "max_freq".
+
+         For details, take a look at linux/Documentation/cpufreq. 
+
+         If in doubt, say N.
+
+config X86_POWERNOW_K6
+       tristate "AMD Mobile K6-2/K6-3 PowerNow!"
+       depends on CPU_FREQ_TABLE
+       help
+         This adds the CPUFreq driver for mobile AMD K6-2+ and mobile
+         AMD K6-3+ processors.
+
+         For details, take a look at linux/Documentation/cpufreq. 
+
+         If in doubt, say N.
+
+config X86_POWERNOW_K7
+       tristate "AMD Mobile Athlon/Duron PowerNow!"
+       depends on CPU_FREQ_TABLE
+       help
+         This adds the CPUFreq driver for mobile AMD K7 mobile processors.
+
+         For details, take a look at linux/Documentation/cpufreq. 
+
+         If in doubt, say N.
+
+config X86_GX_SUSPMOD
+       tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation"
+       depends on CPU_FREQ
+       help
+        This add the CPUFreq driver for NatSemi Geode processors which
+        support suspend modulation.
+
+        For details, take a look at linux/Documentation/cpufreq.
+
+        If in doubt, say N.
+
+config X86_SPEEDSTEP
+       tristate "Intel Speedstep"
+       depends on CPU_FREQ_TABLE
+       help
+         This adds the CPUFreq driver for certain mobile Intel Pentium III
+         (Coppermine), all mobile Intel Pentium III-M (Tulatin) and all
+         mobile Intel Pentium 4 P4-Ms.
+
+         For details, take a look at linux/Documentation/cpufreq. 
+
+         If in doubt, say N.
+
+config X86_P4_CLOCKMOD
+       tristate "Intel Pentium 4 clock modulation"
+       depends on CPU_FREQ_TABLE
+       help
+         This adds the CPUFreq driver for Intel Pentium 4 / XEON
+         processors.
+
+         For details, take a look at linux/Documentation/cpufreq. 
+
+         If in doubt, say N.
+
+config X86_LONGRUN
+       tristate "Transmeta LongRun"
+       depends on CPU_FREQ
+       help
+         This adds the CPUFreq driver for Transmeta Crusoe processors which
+         support LongRun.
+
+         For details, take a look at linux/Documentation/cpufreq. 
+
+         If in doubt, say N.
+
+config X86_LONGHAUL
+       tristate "VIA Cyrix III Longhaul"
+       depends on CPU_FREQ
+       help
+         This adds the CPUFreq driver for VIA Samuel/CyrixIII, 
+         VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T 
+         processors.
+
+         For details, take a look at linux/Documentation/cpufreq. 
+
+         If in doubt, say N.
+
+endmenu