summaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2009-06-10 22:35:28 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-15 17:09:31 +0200
commitbabdb788f7ec1a782a52240a5f6dae568f32565f (patch)
treea1c4cdc0618b9568c6a2dff798beaa1dcd2277e0 /drivers/net/Kconfig
parent[SCSI] nsp_cs: time_out reaches -1 (diff)
downloadlinux-babdb788f7ec1a782a52240a5f6dae568f32565f.tar.xz
linux-babdb788f7ec1a782a52240a5f6dae568f32565f.zip
[SCSI] cnic, bnx2i: Fix build failure when CONFIG_PCI is not set.
CNIC and BNX2I must depend on PCI. Dependencies do not get propagated through select. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index f3c4a3b910bb..f6903140dd91 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -2266,8 +2266,9 @@ config BNX2
config CNIC
tristate "Broadcom CNIC support"
- depends on BNX2
- depends on UIO
+ depends on PCI
+ select BNX2
+ select UIO
help
This driver supports offload features of Broadcom NetXtremeII
gigabit Ethernet cards.