Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jan Engelhardt and committed by
Linus Torvalds
bcf6b4bb 751cb5e5

+5 -10
+5 -10
drivers/char/ipmi/Kconfig
··· 2 2 # IPMI device configuration 3 3 # 4 4 5 - menu "IPMI" 6 - depends on HAS_IOMEM 7 - 8 - config IPMI_HANDLER 5 + menuconfig IPMI_HANDLER 9 6 tristate 'IPMI top-level message handler' 7 + depends on HAS_IOMEM 10 8 help 11 9 This enables the central IPMI message handler, required for IPMI 12 10 to work. ··· 16 18 17 19 If unsure, say N. 18 20 21 + if IPMI_HANDLER 22 + 19 23 config IPMI_PANIC_EVENT 20 24 bool 'Generate a panic event to all BMCs on a panic' 21 - depends on IPMI_HANDLER 22 25 help 23 26 When a panic occurs, this will cause the IPMI message handler to 24 27 generate an IPMI event describing the panic to each interface ··· 39 40 40 41 config IPMI_DEVICE_INTERFACE 41 42 tristate 'Device interface for IPMI' 42 - depends on IPMI_HANDLER 43 43 help 44 44 This provides an IOCTL interface to the IPMI message handler so 45 45 userland processes may use IPMI. It supports poll() and select(). 46 46 47 47 config IPMI_SI 48 48 tristate 'IPMI System Interface handler' 49 - depends on IPMI_HANDLER 50 49 help 51 50 Provides a driver for System Interfaces (KCS, SMIC, BT). 52 51 Currently, only KCS and SMIC are supported. If ··· 52 55 53 56 config IPMI_WATCHDOG 54 57 tristate 'IPMI Watchdog Timer' 55 - depends on IPMI_HANDLER 56 58 help 57 59 This enables the IPMI watchdog timer. 58 60 59 61 config IPMI_POWEROFF 60 62 tristate 'IPMI Poweroff' 61 - depends on IPMI_HANDLER 62 63 help 63 64 This enables a function to power off the system with IPMI if 64 65 the IPMI management controller is capable of this. 65 66 66 - endmenu 67 + endif # IPMI_HANDLER