aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-30 11:20:24 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-30 14:09:12 -0500
commit58daa68a8fd4a373092df9035fdccaa29420f1e6 (patch)
tree352682ed8b8dc36f63700c37f9cacf1958039456 /drivers/net/Kconfig
parent56b854bb314084396d3d3138126496d330943559 (diff)
[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/net/Kconfig')
-rw-r--r--drivers/net/Kconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 72a9212da865..9a18270c1081 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -2399,9 +2399,14 @@ config CHELSIO_T1_1G
2399 Enables support for Chelsio's gigabit Ethernet PCI cards. If you 2399 Enables support for Chelsio's gigabit Ethernet PCI cards. If you
2400 are using only 10G cards say 'N' here. 2400 are using only 10G cards say 'N' here.
2401 2401
2402config CHELSIO_T3_DEPENDS
2403 tristate
2404 depends on PCI && INET
2405 default y
2406
2402config CHELSIO_T3 2407config CHELSIO_T3
2403 tristate "Chelsio Communications T3 10Gb Ethernet support" 2408 tristate "Chelsio Communications T3 10Gb Ethernet support"
2404 depends on PCI && INET 2409 depends on CHELSIO_T3_DEPENDS
2405 select FW_LOADER 2410 select FW_LOADER
2406 select INET_LRO 2411 select INET_LRO
2407 help 2412 help