[RFC] menu -> menuconfig changes

From: Bodo Eggert
Date: Wed Jun 29 2005 - 04:52:22 EST


There are many submenus in the config system where the fist option
controls the availability of the remaining options. This is very
inconvenient in menuconfig, since you'll have to enter each menu
to see whether or not the corresponding subsystem is enabled.

I suggest moving the first option out of the subsystem by changing
'menu' to 'menuconfig', as demonstrated by the patch below.

--- ../linux-2.6.12/drivers/cdrom/Kconfig 2005-06-19 14:16:31.000000000 +0200
+++ ./drivers/cdrom/Kconfig 2005-06-29 11:27:02.000000000 +0200
@@ -2,11 +2,9 @@
# CDROM driver configuration
#

-menu "Old CD-ROM drivers (not SCSI, not IDE)"
+menuconfig CD_NO_IDESCSI
+ bool "Old CD-ROM drivers (not SCSI, IDE or ATAPI)"
depends on ISA
-
-config CD_NO_IDESCSI
- bool "Support non-SCSI/IDE/ATAPI CDROM drives"
---help---
If you have a CD-ROM drive that is neither SCSI nor IDE/ATAPI, say Y
here, otherwise N. Read the CD-ROM-HOWTO, available from
@@ -209,5 +207,3 @@ config CDU535

To compile this driver as a module, choose M here: the
module will be called sonycd535.
-
-endmenu
--
Top 100 things you don't want the sysadmin to say:
83. Damn, and I just bought that pop...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/