diff options
author | Anish Bhatt <anish@chelsio.com> | 2014-09-15 16:45:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-15 17:45:18 -0400 |
commit | 23a3c99201954d8ffe92e599e3c3039985280f1b (patch) | |
tree | f7bf9d856db7fed8f823a097567d5b8a3d396132 /drivers/scsi/bnx2fc/Kconfig | |
parent | 5d6be6a5d4864712832822efeb9c2d54e4063949 (diff) |
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: c99d667e8527 ("cnic : Cleanup CONFIG_IPV6 & VLAN check")
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/bnx2fc/Kconfig')
-rw-r--r-- | drivers/scsi/bnx2fc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2fc/Kconfig b/drivers/scsi/bnx2fc/Kconfig index f245d543d7b1..02b0ba8e49e9 100644 --- a/drivers/scsi/bnx2fc/Kconfig +++ b/drivers/scsi/bnx2fc/Kconfig | |||
@@ -1,6 +1,7 @@ | |||
1 | config SCSI_BNX2X_FCOE | 1 | config SCSI_BNX2X_FCOE |
2 | tristate "QLogic NetXtreme II FCoE support" | 2 | tristate "QLogic NetXtreme II FCoE support" |
3 | depends on PCI | 3 | depends on PCI |
4 | depends on (IPV6 || IPV6=n) | ||
4 | select NETDEVICES | 5 | select NETDEVICES |
5 | select ETHERNET | 6 | select ETHERNET |
6 | select NET_VENDOR_BROADCOM | 7 | select NET_VENDOR_BROADCOM |