[SCSI] Fix dependency problems in SCSI drivers
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 6 Mar 2008 21:32:06 +0000 (15:32 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 9 Mar 2008 00:30:19 +0000 (18:30 -0600)
We have several drivers that don't list SCSI as a dependency in
Kconfig.  That leads to them potentially being selected as Y even if
SCSI is M (which will produce a build failure).  Fix this by making
the if SCSI_LOWLEVEL that goes around all the drivers a tristate
forcing them all automatically to inherit the value of SCSI.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/Kconfig

index c46666a..b9d3740 100644 (file)
@@ -325,7 +325,7 @@ menuconfig SCSI_LOWLEVEL
        depends on SCSI!=n
        default y
 
-if SCSI_LOWLEVEL
+if SCSI_LOWLEVEL && SCSI
 
 config ISCSI_TCP
        tristate "iSCSI Initiator over TCP/IP"