OpenCloudOS-Kernel/drivers/scsi/bnx2i
Randy Dunlap 2d586494c4 scsi: bnx2i: Requires MMU
The SCSI_BNX2_ISCSI kconfig symbol selects CNIC and CNIC selects UIO, which
depends on MMU.

Since 'select' does not follow dependency chains, add the same MMU
dependency to SCSI_BNX2_ISCSI.

Quietens this kconfig warning:

WARNING: unmet direct dependencies detected for CNIC
  Depends on [n]: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_BROADCOM [=y] && PCI [=y] && (IPV6 [=m] || IPV6 [=m]=n) && MMU [=n]
  Selected by [m]:
  - SCSI_BNX2_ISCSI [=m] && SCSI_LOWLEVEL [=y] && SCSI [=y] && NET [=y] && PCI [=y] && (IPV6 [=m] || IPV6 [=m]=n)

Link: https://lore.kernel.org/r/20201129070916.3919-1-rdunlap@infradead.org
Fixes: cf4e636385 ("[SCSI] bnx2i: Add bnx2i iSCSI driver.")
Cc: linux-scsi@vger.kernel.org
Cc: Nilesh Javali <njavali@marvell.com>
Cc: Manish Rangankar <mrangankar@marvell.com>
Cc: GR-QLogic-Storage-Upstream@marvell.com
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-12-02 12:59:04 -05:00
..
57xx_iscsi_constants.h bnx2i: Rebranding bnx2i driver 2014-07-25 17:16:59 -04:00
57xx_iscsi_hsi.h bnx2i: Rebranding bnx2i driver 2014-07-25 17:16:59 -04:00
Kconfig scsi: bnx2i: Requires MMU 2020-12-02 12:59:04 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bnx2i.h scsi: bnx2i: Convert timers to use timer_setup() 2017-10-27 02:22:00 -07:00
bnx2i_hwi.c scsi: bnx2i: Fix a whole host of kerneldoc issues 2020-07-24 22:32:08 -04:00
bnx2i_init.c scsi: bnx2i: Remove unnecessary mutex_init() 2020-09-22 20:21:02 -04:00
bnx2i_iscsi.c scsi: bnx2i: Add parameter description and rename another 2020-07-24 22:33:07 -04:00
bnx2i_sysfs.c scsi: bnx2i: Add missing descriptions for 'attr' parameter 2020-07-24 22:31:57 -04:00