aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-02-09 12:08:58 -0500
committerRalf Baechle <ralf@linux-mips.org>2007-02-09 12:08:58 -0500
commit2116245ee121af820225834e9695005ab07d1e84 (patch)
tree2ec482fbbce87f98b4c934151a16486477ecda33 /arch/mips/Kconfig
parent75e7153abd220f1c4a731a9613fb705485b56aa8 (diff)
[APM] MIPS: Convert to use shared APM emulation.
Also convert to use generic kernel/power/Kconfig to make the use of the shared APM emulation possible. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig38
1 files changed, 9 insertions, 29 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 44a0224c32dd..9d839a9c4b1a 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -934,6 +934,9 @@ config CPU_LITTLE_ENDIAN
934 934
935endchoice 935endchoice
936 936
937config SYS_SUPPORTS_APM_EMULATION
938 bool
939
937config SYS_SUPPORTS_BIG_ENDIAN 940config SYS_SUPPORTS_BIG_ENDIAN
938 bool 941 bool
939 942
@@ -1001,6 +1004,7 @@ config SOC_AU1X00
1001 bool 1004 bool
1002 select SYS_HAS_CPU_MIPS32_R1 1005 select SYS_HAS_CPU_MIPS32_R1
1003 select SYS_SUPPORTS_32BIT_KERNEL 1006 select SYS_SUPPORTS_32BIT_KERNEL
1007 select SYS_SUPPORTS_APM_EMULATION
1004 1008
1005config PNX8550 1009config PNX8550
1006 bool 1010 bool
@@ -2071,35 +2075,11 @@ config BINFMT_ELF32
2071 bool 2075 bool
2072 default y if MIPS32_O32 || MIPS32_N32 2076 default y if MIPS32_O32 || MIPS32_N32
2073 2077
2074config PM 2078endmenu
2075 bool "Power Management support (EXPERIMENTAL)" 2079
2076 depends on EXPERIMENTAL && SOC_AU1X00 2080menu "Power management options"
2077 2081
2078config APM 2082source "kernel/power/Kconfig"
2079 tristate "Advanced Power Management Emulation"
2080 depends on PM
2081 ---help---
2082 APM is a BIOS specification for saving power using several different
2083 techniques. This is mostly useful for battery powered systems with
2084 APM compliant BIOSes. If you say Y here, the system time will be
2085 reset after a RESUME operation, the /proc/apm device will provide
2086 battery status information, and user-space programs will receive
2087 notification of APM "events" (e.g. battery status change).
2088
2089 In order to use APM, you will need supporting software. For location
2090 and more information, read <file:Documentation/pm.txt> and the
2091 Battery Powered Linux mini-HOWTO, available from
2092 <http://www.tldp.org/docs.html#howto>.
2093
2094 This driver does not spin down disk drives (see the hdparm(8)
2095 manpage ("man 8 hdparm") for that), and it doesn't turn off
2096 VESA-compliant "green" monitors.
2097
2098 Generally, if you don't have a battery in your machine, there isn't
2099 much point in using this driver and you should say N. If you get
2100 random kernel OOPSes or reboots that don't seem to be related to
2101 anything, try disabling/enabling this option (or disabling/enabling
2102 APM in your BIOS).
2103 2083
2104endmenu 2084endmenu
2105 2085