Skip to content

Commit

Permalink
[SCSI] Use menuconfig objects
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
  • Loading branch information
Jan Engelhardt authored and James Bottomley committed Jul 18, 2007
1 parent 072c3a9 commit fc6e740
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 6 additions & 2 deletions drivers/scsi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,12 @@ source "drivers/scsi/libsas/Kconfig"

endmenu

menu "SCSI low-level drivers"
menuconfig SCSI_LOWLEVEL
bool "SCSI low-level drivers"
depends on SCSI!=n
default y

if SCSI_LOWLEVEL

config ISCSI_TCP
tristate "iSCSI Initiator over TCP/IP"
Expand Down Expand Up @@ -1800,7 +1804,7 @@ config SCSI_SRP
To compile this driver as a module, choose M here: the
module will be called libsrp.

endmenu
endif # SCSI_LOWLEVEL

source "drivers/scsi/pcmcia/Kconfig"

Expand Down
7 changes: 5 additions & 2 deletions drivers/scsi/pcmcia/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
# PCMCIA SCSI adapter configuration
#

menu "PCMCIA SCSI adapter support"
menuconfig SCSI_LOWLEVEL_PCMCIA
bool "PCMCIA SCSI adapter support"
depends on SCSI!=n && PCMCIA!=n

if SCSI_LOWLEVEL_PCMCIA && SCSI && PCMCIA

config PCMCIA_AHA152X
tristate "Adaptec AHA152X PCMCIA support"
depends on !64BIT
Expand Down Expand Up @@ -77,4 +80,4 @@ config PCMCIA_SYM53C500
To compile this driver as a module, choose M here: the
module will be called sym53c500_cs.

endmenu
endif # SCSI_LOWLEVEL_PCMCIA

0 comments on commit fc6e740

Please sign in to comment.