summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc/Kconfig
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-09-22 19:14:33 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-22 19:14:33 +0200
commitdf568d8e5250bf24e38c69ad4374baf0f8d279ba (patch)
tree8d6587e57c6765a4586edaa8738d6f115e2cc501 /drivers/scsi/bnx2fc/Kconfig
parentMerge tag 'linux-can-fixes-for-3.17-20140918' of git://gitorious.org/linux-ca... (diff)
downloadlinux-df568d8e5250bf24e38c69ad4374baf0f8d279ba.tar.xz
linux-df568d8e5250bf24e38c69ad4374baf0f8d279ba.zip
scsi: Use 'depends' with LIBFC instead of 'select'.
LIBFC depends upon SCSI_FC_ATTRS and select's CRC32C. The only alternative would be to 'select' CRC32C and all of SCSI_FC_ATTRS direct and indirect dependencies in the Kconfig section for every LIBFCOE user which makes little sense. Subsequently, use 'depends' instead of 'select' for LIBFCOE too. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/bnx2fc/Kconfig')
-rw-r--r--drivers/scsi/bnx2fc/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bnx2fc/Kconfig b/drivers/scsi/bnx2fc/Kconfig
index 02b0ba8e49e9..097882882649 100644
--- a/drivers/scsi/bnx2fc/Kconfig
+++ b/drivers/scsi/bnx2fc/Kconfig
@@ -2,11 +2,11 @@ config SCSI_BNX2X_FCOE
tristate "QLogic NetXtreme II FCoE support"
depends on PCI
depends on (IPV6 || IPV6=n)
+ depends on LIBFC
+ depends on LIBFCOE
select NETDEVICES
select ETHERNET
select NET_VENDOR_BROADCOM
- select LIBFC
- select LIBFCOE
select CNIC
---help---
This driver supports FCoE offload for the QLogic NetXtreme II