aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-07-16 02:39:28 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 12:05:40 -0400
commitbcf6b4bbb5be0807143239f6c460e5e6aecf2981 (patch)
treed081ce95f1e06a8c1a7c08f27816d11018001984 /drivers/char
parent751cb5e56436f6c889d9acbd3d4464224e49965d (diff)
Use menuconfig objects II - IPMI
Change Kconfig objects from "menu, config" into "menuconfig" so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Acked-by: Corey Minyard <minyard@acm.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/ipmi/Kconfig15
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/char/ipmi/Kconfig b/drivers/char/ipmi/Kconfig
index b894f67fdf14..0baa8fab4ea7 100644
--- a/drivers/char/ipmi/Kconfig
+++ b/drivers/char/ipmi/Kconfig
@@ -2,11 +2,9 @@
2# IPMI device configuration 2# IPMI device configuration
3# 3#
4 4
5menu "IPMI" 5menuconfig IPMI_HANDLER
6 depends on HAS_IOMEM
7
8config IPMI_HANDLER
9 tristate 'IPMI top-level message handler' 6 tristate 'IPMI top-level message handler'
7 depends on HAS_IOMEM
10 help 8 help
11 This enables the central IPMI message handler, required for IPMI 9 This enables the central IPMI message handler, required for IPMI
12 to work. 10 to work.
@@ -18,9 +16,10 @@ config IPMI_HANDLER
18 16
19 If unsure, say N. 17 If unsure, say N.
20 18
19if IPMI_HANDLER
20
21config IPMI_PANIC_EVENT 21config IPMI_PANIC_EVENT
22 bool 'Generate a panic event to all BMCs on a panic' 22 bool 'Generate a panic event to all BMCs on a panic'
23 depends on IPMI_HANDLER
24 help 23 help
25 When a panic occurs, this will cause the IPMI message handler to 24 When a panic occurs, this will cause the IPMI message handler to
26 generate an IPMI event describing the panic to each interface 25 generate an IPMI event describing the panic to each interface
@@ -40,14 +39,12 @@ config IPMI_PANIC_STRING
40 39
41config IPMI_DEVICE_INTERFACE 40config IPMI_DEVICE_INTERFACE
42 tristate 'Device interface for IPMI' 41 tristate 'Device interface for IPMI'
43 depends on IPMI_HANDLER
44 help 42 help
45 This provides an IOCTL interface to the IPMI message handler so 43 This provides an IOCTL interface to the IPMI message handler so
46 userland processes may use IPMI. It supports poll() and select(). 44 userland processes may use IPMI. It supports poll() and select().
47 45
48config IPMI_SI 46config IPMI_SI
49 tristate 'IPMI System Interface handler' 47 tristate 'IPMI System Interface handler'
50 depends on IPMI_HANDLER
51 help 48 help
52 Provides a driver for System Interfaces (KCS, SMIC, BT). 49 Provides a driver for System Interfaces (KCS, SMIC, BT).
53 Currently, only KCS and SMIC are supported. If 50 Currently, only KCS and SMIC are supported. If
@@ -55,15 +52,13 @@ config IPMI_SI
55 52
56config IPMI_WATCHDOG 53config IPMI_WATCHDOG
57 tristate 'IPMI Watchdog Timer' 54 tristate 'IPMI Watchdog Timer'
58 depends on IPMI_HANDLER
59 help 55 help
60 This enables the IPMI watchdog timer. 56 This enables the IPMI watchdog timer.
61 57
62config IPMI_POWEROFF 58config IPMI_POWEROFF
63 tristate 'IPMI Poweroff' 59 tristate 'IPMI Poweroff'
64 depends on IPMI_HANDLER
65 help 60 help
66 This enables a function to power off the system with IPMI if 61 This enables a function to power off the system with IPMI if
67 the IPMI management controller is capable of this. 62 the IPMI management controller is capable of this.
68 63
69endmenu 64endif # IPMI_HANDLER