summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxgb3i/Kconfig
diff options
context:
space:
mode:
authorJames Bottomley2008-12-30 17:20:24 +0100
committerJames Bottomley2008-12-30 20:09:12 +0100
commit58daa68a8fd4a373092df9035fdccaa29420f1e6 (patch)
tree352682ed8b8dc36f63700c37f9cacf1958039456 /drivers/scsi/cxgb3i/Kconfig
parent[SCSI] fcoe: fix incorrect use of struct module (diff)
downloadkernel-qcow2-linux-58daa68a8fd4a373092df9035fdccaa29420f1e6.tar.gz
kernel-qcow2-linux-58daa68a8fd4a373092df9035fdccaa29420f1e6.tar.xz
kernel-qcow2-linux-58daa68a8fd4a373092df9035fdccaa29420f1e6.zip
[SCSI] cxgb3i: fix select/depend problem
cxgb3i requires the cxgb3 net driver, so it selects it. However, cxgb3 has dependencies which the select cannot see. Fix this by separating out the cxgb3 dependencies into a separate hidden config option (CONFIG_CHELSIO_T3_DEPENDS) and make both cxgb3 and cxgb3i depend on it. Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Karen Xie <kxie@chelsio.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/cxgb3i/Kconfig')
-rw-r--r--drivers/scsi/cxgb3i/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/cxgb3i/Kconfig b/drivers/scsi/cxgb3i/Kconfig
index 276281460ece..bfdcaf5c9c57 100644
--- a/drivers/scsi/cxgb3i/Kconfig
+++ b/drivers/scsi/cxgb3i/Kconfig
@@ -1,5 +1,6 @@
config SCSI_CXGB3_ISCSI
tristate "Chelsio S3xx iSCSI support"
+ depends on CHELSIO_T3_DEPENDS
select CHELSIO_T3
select SCSI_ISCSI_ATTRS
---help---