Skip to content

Commit babdb78

Browse files
Michael ChanJames Bottomley
authored andcommitted
[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 <[email protected]> Signed-off-by: James Bottomley <[email protected]>
1 parent 0454c74 commit babdb78

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

drivers/net/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,8 +2266,9 @@ config BNX2
22662266

22672267
config CNIC
22682268
tristate "Broadcom CNIC support"
2269-
depends on BNX2
2270-
depends on UIO
2269+
depends on PCI
2270+
select BNX2
2271+
select UIO
22712272
help
22722273
This driver supports offload features of Broadcom NetXtremeII
22732274
gigabit Ethernet cards.

drivers/scsi/bnx2i/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ config SCSI_BNX2_ISCSI
22
tristate "Broadcom NetXtreme II iSCSI support"
33
select SCSI_ISCSI_ATTRS
44
select CNIC
5+
depends on PCI
56
---help---
67
This driver supports iSCSI offload for the Broadcom NetXtreme II
78
devices.

0 commit comments

Comments
 (0)