Browse Source

[SCSI] move iscsi to a better place in Kconfig

Now it looks like we'll have multiple users of the iscsi transport
class, the iscsi initiator shouldn't really be a dependency of it.  This
patch moves iscsi to being an initiator in its own right which selects
the transport attributes.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
James Bottomley 19 years ago
parent
commit
96bad874e7
1 changed files with 7 additions and 6 deletions
  1. 7 6
      drivers/scsi/Kconfig

+ 7 - 6
drivers/scsi/Kconfig

@@ -235,12 +235,18 @@ config SCSI_ISCSI_ATTRS
 	  each attached iSCSI device to sysfs, say Y.
 	  each attached iSCSI device to sysfs, say Y.
 	  Otherwise, say N.
 	  Otherwise, say N.
 
 
+endmenu
+
+menu "SCSI low-level drivers"
+	depends on SCSI!=n
+
 config ISCSI_TCP
 config ISCSI_TCP
 	tristate "iSCSI Initiator over TCP/IP"
 	tristate "iSCSI Initiator over TCP/IP"
-	depends on SCSI && INET && SCSI_ISCSI_ATTRS
+	depends on SCSI && INET
 	select CRYPTO
 	select CRYPTO
 	select CRYPTO_MD5
 	select CRYPTO_MD5
 	select CRYPTO_CRC32C
 	select CRYPTO_CRC32C
+	select SCSI_ISCSI_ATTRS
 	help
 	help
 	 The iSCSI Driver provides a host with the ability to access storage
 	 The iSCSI Driver provides a host with the ability to access storage
 	 through an IP network. The driver uses the iSCSI protocol to transport
 	 through an IP network. The driver uses the iSCSI protocol to transport
@@ -258,11 +264,6 @@ config ISCSI_TCP
 
 
 	 http://linux-iscsi.sf.net
 	 http://linux-iscsi.sf.net
 
 
-endmenu
-
-menu "SCSI low-level drivers"
-	depends on SCSI!=n
-
 config SGIWD93_SCSI
 config SGIWD93_SCSI
 	tristate "SGI WD93C93 SCSI Driver"
 	tristate "SGI WD93C93 SCSI Driver"
 	depends on SGI_IP22 && SCSI
 	depends on SGI_IP22 && SCSI