summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-09-22 13:14:33 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-22 13:14:33 -0400
commitdf568d8e5250bf24e38c69ad4374baf0f8d279ba (patch)
tree8d6587e57c6765a4586edaa8738d6f115e2cc501 /drivers/scsi/bnx2fc
parentafbe7af1b22fcd5d128e36ab0faa6bd7d7d78223 (diff)
downloadop-kernel-dev-df568d8e5250bf24e38c69ad4374baf0f8d279ba.zip
op-kernel-dev-df568d8e5250bf24e38c69ad4374baf0f8d279ba.tar.gz
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')
-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 02b0ba8..0978828 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
OpenPOWER on IntegriCloud