]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
bnx2i/bnx2fc : fix randconfig error in next-20140909
authorAnish Bhatt <anish@chelsio.com>
Mon, 15 Sep 2014 20:45:21 +0000 (13:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Sep 2014 21:45:18 +0000 (17:45 -0400)
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: c99d667e8527 ("cnic : Cleanup CONFIG_IPV6 & VLAN check")
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/bnx2fc/Kconfig
drivers/scsi/bnx2i/Kconfig

index f245d543d7b1405f060fcd90491382e37739d24b..02b0ba8e49e913e72065e3e79eae056eac9b1d1c 100644 (file)
@@ -1,6 +1,7 @@
 config SCSI_BNX2X_FCOE
        tristate "QLogic NetXtreme II FCoE support"
        depends on PCI
+       depends on (IPV6 || IPV6=n)
        select NETDEVICES
        select ETHERNET
        select NET_VENDOR_BROADCOM
index 44ce54e536e54c4e3c2ef02a2bdd471d6b9c5e32..ba30ff86d5818579ac7662c73ffb6b03e0c6caf6 100644 (file)
@@ -2,6 +2,7 @@ config SCSI_BNX2_ISCSI
        tristate "QLogic NetXtreme II iSCSI support"
        depends on NET
        depends on PCI
+       depends on (IPV6 || IPV6=n)
        select SCSI_ISCSI_ATTRS
        select NETDEVICES
        select ETHERNET