Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit babdb788 authored by Michael Chan's avatar Michael Chan Committed by James Bottomley
Browse files

[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: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 0454c740
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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.
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ config SCSI_BNX2_ISCSI
	tristate "Broadcom NetXtreme II iSCSI support"
	select SCSI_ISCSI_ATTRS
	select CNIC
	depends on PCI
	---help---
	This driver supports iSCSI offload for the Broadcom NetXtreme II
	devices.