Skip to content

Commit 23a3c99

Browse files
anishdavem330
authored andcommitted
bnx2i/bnx2fc : fix randconfig error in next-20140909
Just like CNIC, tristate of these two modules is also dependent on IPV6. These need to be handled separately as they select CNIC, which can override tristate for CNIC from 'm' to 'y', which can cause build failures when ipv6 is compiled as a module even if CNIC's Kconfig will only 'm' or 'n' when ipv6 is compiled as a module. Fixes: c99d667 ("cnic : Cleanup CONFIG_IPV6 & VLAN check") Signed-off-by: Anish Bhatt <anish@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 5d6be6a commit 23a3c99

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/scsi/bnx2fc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
config SCSI_BNX2X_FCOE
22
tristate "QLogic NetXtreme II FCoE support"
33
depends on PCI
4+
depends on (IPV6 || IPV6=n)
45
select NETDEVICES
56
select ETHERNET
67
select NET_VENDOR_BROADCOM

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 "QLogic NetXtreme II iSCSI support"
33
depends on NET
44
depends on PCI
5+
depends on (IPV6 || IPV6=n)
56
select SCSI_ISCSI_ATTRS
67
select NETDEVICES
78
select ETHERNET

0 commit comments

Comments
 (0)