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>
This commit is contained in:
parent
751cb5e564
commit
bcf6b4bbb5
1 changed files with 5 additions and 10 deletions
|
@ -2,11 +2,9 @@
|
||||||
# IPMI device configuration
|
# IPMI device configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
menu "IPMI"
|
menuconfig IPMI_HANDLER
|
||||||
depends on HAS_IOMEM
|
|
||||||
|
|
||||||
config IPMI_HANDLER
|
|
||||||
tristate 'IPMI top-level message handler'
|
tristate 'IPMI top-level message handler'
|
||||||
|
depends on HAS_IOMEM
|
||||||
help
|
help
|
||||||
This enables the central IPMI message handler, required for IPMI
|
This enables the central IPMI message handler, required for IPMI
|
||||||
to work.
|
to work.
|
||||||
|
@ -18,9 +16,10 @@ config IPMI_HANDLER
|
||||||
|
|
||||||
If unsure, say N.
|
If unsure, say N.
|
||||||
|
|
||||||
|
if IPMI_HANDLER
|
||||||
|
|
||||||
config IPMI_PANIC_EVENT
|
config IPMI_PANIC_EVENT
|
||||||
bool 'Generate a panic event to all BMCs on a panic'
|
bool 'Generate a panic event to all BMCs on a panic'
|
||||||
depends on IPMI_HANDLER
|
|
||||||
help
|
help
|
||||||
When a panic occurs, this will cause the IPMI message handler to
|
When a panic occurs, this will cause the IPMI message handler to
|
||||||
generate an IPMI event describing the panic to each interface
|
generate an IPMI event describing the panic to each interface
|
||||||
|
@ -40,14 +39,12 @@ config IPMI_PANIC_STRING
|
||||||
|
|
||||||
config IPMI_DEVICE_INTERFACE
|
config IPMI_DEVICE_INTERFACE
|
||||||
tristate 'Device interface for IPMI'
|
tristate 'Device interface for IPMI'
|
||||||
depends on IPMI_HANDLER
|
|
||||||
help
|
help
|
||||||
This provides an IOCTL interface to the IPMI message handler so
|
This provides an IOCTL interface to the IPMI message handler so
|
||||||
userland processes may use IPMI. It supports poll() and select().
|
userland processes may use IPMI. It supports poll() and select().
|
||||||
|
|
||||||
config IPMI_SI
|
config IPMI_SI
|
||||||
tristate 'IPMI System Interface handler'
|
tristate 'IPMI System Interface handler'
|
||||||
depends on IPMI_HANDLER
|
|
||||||
help
|
help
|
||||||
Provides a driver for System Interfaces (KCS, SMIC, BT).
|
Provides a driver for System Interfaces (KCS, SMIC, BT).
|
||||||
Currently, only KCS and SMIC are supported. If
|
Currently, only KCS and SMIC are supported. If
|
||||||
|
@ -55,15 +52,13 @@ config IPMI_SI
|
||||||
|
|
||||||
config IPMI_WATCHDOG
|
config IPMI_WATCHDOG
|
||||||
tristate 'IPMI Watchdog Timer'
|
tristate 'IPMI Watchdog Timer'
|
||||||
depends on IPMI_HANDLER
|
|
||||||
help
|
help
|
||||||
This enables the IPMI watchdog timer.
|
This enables the IPMI watchdog timer.
|
||||||
|
|
||||||
config IPMI_POWEROFF
|
config IPMI_POWEROFF
|
||||||
tristate 'IPMI Poweroff'
|
tristate 'IPMI Poweroff'
|
||||||
depends on IPMI_HANDLER
|
|
||||||
help
|
help
|
||||||
This enables a function to power off the system with IPMI if
|
This enables a function to power off the system with IPMI if
|
||||||
the IPMI management controller is capable of this.
|
the IPMI management controller is capable of this.
|
||||||
|
|
||||||
endmenu
|
endif # IPMI_HANDLER
|
||||||
|
|
Loading…
Reference in a new issue