提交 babdb788 编写于 作者: M Michael Chan 提交者: James Bottomley

[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: NMichael Chan <mchan@broadcom.com>
Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
上级 0454c740
...@@ -2266,8 +2266,9 @@ config BNX2 ...@@ -2266,8 +2266,9 @@ config BNX2
config CNIC config CNIC
tristate "Broadcom CNIC support" tristate "Broadcom CNIC support"
depends on BNX2 depends on PCI
depends on UIO select BNX2
select UIO
help help
This driver supports offload features of Broadcom NetXtremeII This driver supports offload features of Broadcom NetXtremeII
gigabit Ethernet cards. gigabit Ethernet cards.
......
...@@ -2,6 +2,7 @@ config SCSI_BNX2_ISCSI ...@@ -2,6 +2,7 @@ config SCSI_BNX2_ISCSI
tristate "Broadcom NetXtreme II iSCSI support" tristate "Broadcom NetXtreme II iSCSI support"
select SCSI_ISCSI_ATTRS select SCSI_ISCSI_ATTRS
select CNIC select CNIC
depends on PCI
---help--- ---help---
This driver supports iSCSI offload for the Broadcom NetXtreme II This driver supports iSCSI offload for the Broadcom NetXtreme II
devices. devices.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册