[SCSI] cxgb3i: fix select/depend problem
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 30 Dec 2008 16:20:24 +0000 (10:20 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 30 Dec 2008 19:09:12 +0000 (13:09 -0600)
commit58daa68a8fd4a373092df9035fdccaa29420f1e6
tree352682ed8b8dc36f63700c37f9cacf1958039456
parent56b854bb314084396d3d3138126496d330943559
[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>
drivers/net/Kconfig
drivers/scsi/cxgb3i/Kconfig