[lkml]   [2005]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] Kconfig changes 3: s/menu/menuconfig/ APM menu
On Mon, 4 Jul 2005, Bodo Eggert wrote:

Part 3: The APM menu.

In many config submenus, the first menu option will enable the rest
of the menu options. For these menus, It's appropriate to use the more
convenient "menuconfig" keyword.

This patch is designed for .13-rc1.

--- rc1-a/./arch/i386/Kconfig 2005-06-30 11:22:16.000000000 +0200
+++ rc1-b/./arch/i386/Kconfig 2005-07-04 12:09:08.000000000 +0200
@@ -987,12 +987,9 @@ source kernel/power/Kconfig

source "drivers/acpi/Kconfig"

-menu "APM (Advanced Power Management) BIOS Support"
-depends on PM && !X86_VISWS
-config APM
+menuconfig APM
tristate "APM (Advanced Power Management) BIOS support"
- depends on PM
+ depends on PM && !X86_VISWS
APM is a BIOS specification for saving power using several different
techniques. This is mostly useful for battery powered laptops with
@@ -1049,9 +1046,10 @@ config APM
To compile this driver as a module, choose M here: the
module will be called apm.

+if APM
bool "Ignore USER SUSPEND"
- depends on APM
This option will ignore USER SUSPEND requests. On machines with a
compliant APM BIOS, you want to say N. However, on the NEC Versa M
@@ -1059,7 +1057,6 @@ config APM_IGNORE_USER_SUSPEND

bool "Enable PM at boot time"
- depends on APM
Enable APM features at boot time. From page 36 of the APM BIOS
specification: "When disabled, the APM BIOS does not automatically
@@ -1077,7 +1074,6 @@ config APM_DO_ENABLE

bool "Make CPU Idle calls when idle"
- depends on APM
Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop.
On some machines, this can activate improved power savings, such as
@@ -1089,7 +1085,6 @@ config APM_CPU_IDLE

bool "Enable console blanking using APM"
- depends on APM
Enable console blanking using the APM. Some laptops can use this to
turn off the LCD backlight when the screen blanker of the Linux
@@ -1103,7 +1098,6 @@ config APM_DISPLAY_BLANK

bool "RTC stores time in GMT"
- depends on APM
Say Y here if your RTC (Real Time Clock a.k.a. hardware clock)
stores the time in GMT (Greenwich Mean Time). Say N if your RTC
@@ -1116,7 +1110,6 @@ config APM_RTC_IS_GMT

bool "Allow interrupts during APM BIOS calls"
- depends on APM
Normally we disable external interrupts while we are making calls to
the APM BIOS as a measure to lessen the effects of a badly behaving
@@ -1127,13 +1120,12 @@ config APM_ALLOW_INTS

bool "Use real mode APM BIOS call to power off"
- depends on APM
Use real mode APM BIOS calls to switch off the computer. This is
a work-around for a number of buggy BIOSes. Switch this option on if
your computer crashes instead of powering off properly.


source "arch/i386/kernel/cpu/cpufreq/Kconfig"

Top 100 things you don't want the sysadmin to say:
66. What do you mean you needed that directory?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-07-04 12:30    [W:0.081 / U:0.516 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site