linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 2/2] Use menuconfig objects: IDE
@ 2007-05-11  5:50 akpm
  2007-05-15 21:26 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-05-11  5:50 UTC (permalink / raw)
  To: bzolnier; +Cc: linux-ide, akpm, jengelh, jengelh

From: Jan Engelhardt <jengelh@linux01.gwdg.de>

Use menuconfigs instead of menus, so the whole menu can be disabled at once
instead of going through all options.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/ide/Kconfig |   15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff -puN drivers/ide/Kconfig~use-menuconfig-objects-ide drivers/ide/Kconfig
--- a/drivers/ide/Kconfig~use-menuconfig-objects-ide
+++ a/drivers/ide/Kconfig
@@ -4,13 +4,10 @@
 # Andre Hedrick <andre@linux-ide.org>
 #
 
-if BLOCK
-
-menu "ATA/ATAPI/MFM/RLL support"
-	depends on HAS_IOMEM
-
-config IDE
+menuconfig IDE
 	tristate "ATA/ATAPI/MFM/RLL support"
+	depends on BLOCK
+	depends on HAS_IOMEM
 	---help---
 	  If you say Y here, your kernel will be able to manage low cost mass
 	  storage units such as ATA/(E)IDE and ATAPI units. The most common
@@ -1099,8 +1096,4 @@ config BLK_DEV_HD_ONLY
 config BLK_DEV_HD
 	def_bool BLK_DEV_HD_IDE || BLK_DEV_HD_ONLY
 
-endif
-
-endmenu
-
-endif
+endif # IDE
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 2/2] Use menuconfig objects: IDE
  2007-05-11  5:50 [patch 2/2] Use menuconfig objects: IDE akpm
@ 2007-05-15 21:26 ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-05-15 21:26 UTC (permalink / raw)
  To: akpm; +Cc: linux-ide, jengelh, jengelh

On Friday 11 May 2007, akpm@linux-foundation.org wrote:
> From: Jan Engelhardt <jengelh@linux01.gwdg.de>
> 
> Use menuconfigs instead of menus, so the whole menu can be disabled at once
> instead of going through all options.
> 
> Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

applied

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-16  0:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-11  5:50 [patch 2/2] Use menuconfig objects: IDE akpm
2007-05-15 21:26 ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).