diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2007-07-09 15:00:08 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-18 12:16:54 -0400 |
commit | fc6e740d0b8619b7e5b6a1899d2db73e309de6a5 (patch) | |
tree | ecc2e0a352771636fb3a3b3b3a1a1b33a24415d2 /drivers | |
parent | 072c3a9d4fe8d270d0b0a8e2c2e34b7f253ceab1 (diff) |
[SCSI] Use menuconfig objects
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
so that the user can disable all the options in that menu at once
instead of having to disable each option separately.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/Kconfig | 8 | ||||
-rw-r--r-- | drivers/scsi/pcmcia/Kconfig | 7 |
2 files changed, 11 insertions, 4 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 372723161c97..07a69117cae4 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig | |||
@@ -291,8 +291,12 @@ source "drivers/scsi/libsas/Kconfig" | |||
291 | 291 | ||
292 | endmenu | 292 | endmenu |
293 | 293 | ||
294 | menu "SCSI low-level drivers" | 294 | menuconfig SCSI_LOWLEVEL |
295 | bool "SCSI low-level drivers" | ||
295 | depends on SCSI!=n | 296 | depends on SCSI!=n |
297 | default y | ||
298 | |||
299 | if SCSI_LOWLEVEL | ||
296 | 300 | ||
297 | config ISCSI_TCP | 301 | config ISCSI_TCP |
298 | tristate "iSCSI Initiator over TCP/IP" | 302 | tristate "iSCSI Initiator over TCP/IP" |
@@ -1800,7 +1804,7 @@ config SCSI_SRP | |||
1800 | To compile this driver as a module, choose M here: the | 1804 | To compile this driver as a module, choose M here: the |
1801 | module will be called libsrp. | 1805 | module will be called libsrp. |
1802 | 1806 | ||
1803 | endmenu | 1807 | endif # SCSI_LOWLEVEL |
1804 | 1808 | ||
1805 | source "drivers/scsi/pcmcia/Kconfig" | 1809 | source "drivers/scsi/pcmcia/Kconfig" |
1806 | 1810 | ||
diff --git a/drivers/scsi/pcmcia/Kconfig b/drivers/scsi/pcmcia/Kconfig index 7dd787f6ab27..fa481b515ead 100644 --- a/drivers/scsi/pcmcia/Kconfig +++ b/drivers/scsi/pcmcia/Kconfig | |||
@@ -2,9 +2,12 @@ | |||
2 | # PCMCIA SCSI adapter configuration | 2 | # PCMCIA SCSI adapter configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | menu "PCMCIA SCSI adapter support" | 5 | menuconfig SCSI_LOWLEVEL_PCMCIA |
6 | bool "PCMCIA SCSI adapter support" | ||
6 | depends on SCSI!=n && PCMCIA!=n | 7 | depends on SCSI!=n && PCMCIA!=n |
7 | 8 | ||
9 | if SCSI_LOWLEVEL_PCMCIA && SCSI && PCMCIA | ||
10 | |||
8 | config PCMCIA_AHA152X | 11 | config PCMCIA_AHA152X |
9 | tristate "Adaptec AHA152X PCMCIA support" | 12 | tristate "Adaptec AHA152X PCMCIA support" |
10 | depends on !64BIT | 13 | depends on !64BIT |
@@ -77,4 +80,4 @@ config PCMCIA_SYM53C500 | |||
77 | To compile this driver as a module, choose M here: the | 80 | To compile this driver as a module, choose M here: the |
78 | module will be called sym53c500_cs. | 81 | module will be called sym53c500_cs. |
79 | 82 | ||
80 | endmenu | 83 | endif # SCSI_LOWLEVEL_PCMCIA |