Commit 751cb5e5 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Linus Torvalds

Use menuconfig objects II - EDAC

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: default avatarJan Engelhardt <jengelh@gmx.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f5920969
...@@ -6,11 +6,9 @@ ...@@ -6,11 +6,9 @@
# $Id: Kconfig,v 1.4.2.7 2005/07/08 22:05:38 dsp_llnl Exp $ # $Id: Kconfig,v 1.4.2.7 2005/07/08 22:05:38 dsp_llnl Exp $
# #
menu 'EDAC - error detection and reporting (RAS) (EXPERIMENTAL)' menuconfig EDAC
tristate "EDAC - error detection and reporting (EXPERIMENTAL)"
depends on HAS_IOMEM depends on HAS_IOMEM
config EDAC
tristate "EDAC core system error reporting (EXPERIMENTAL)"
depends on X86 && EXPERIMENTAL depends on X86 && EXPERIMENTAL
help help
EDAC is designed to report errors in the core system. EDAC is designed to report errors in the core system.
...@@ -30,13 +28,12 @@ config EDAC ...@@ -30,13 +28,12 @@ config EDAC
There is also a mailing list for the EDAC project, which can There is also a mailing list for the EDAC project, which can
be found via the sourceforge page. be found via the sourceforge page.
if EDAC
comment "Reporting subsystems" comment "Reporting subsystems"
depends on EDAC
config EDAC_DEBUG config EDAC_DEBUG
bool "Debugging" bool "Debugging"
depends on EDAC
help help
This turns on debugging information for the entire EDAC This turns on debugging information for the entire EDAC
sub-system. You can insert module with "debug_level=x", current sub-system. You can insert module with "debug_level=x", current
...@@ -45,7 +42,6 @@ config EDAC_DEBUG ...@@ -45,7 +42,6 @@ config EDAC_DEBUG
config EDAC_MM_EDAC config EDAC_MM_EDAC
tristate "Main Memory EDAC (Error Detection And Correction) reporting" tristate "Main Memory EDAC (Error Detection And Correction) reporting"
depends on EDAC
default y default y
help help
Some systems are able to detect and correct errors in main Some systems are able to detect and correct errors in main
...@@ -100,15 +96,13 @@ config EDAC_R82600 ...@@ -100,15 +96,13 @@ config EDAC_R82600
choice choice
prompt "Error detecting method" prompt "Error detecting method"
depends on EDAC
default EDAC_POLL default EDAC_POLL
config EDAC_POLL config EDAC_POLL
bool "Poll for errors" bool "Poll for errors"
depends on EDAC
help help
Poll the chipset periodically to detect errors. Poll the chipset periodically to detect errors.
endchoice endchoice
endmenu endif # EDAC
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment