From patchwork Mon Nov 6 19:55:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Madhani, Himanshu" X-Patchwork-Id: 10044371 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2A4FD60247 for ; Mon, 6 Nov 2017 19:55:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B6C429E3B for ; Mon, 6 Nov 2017 19:55:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EAAD29F09; Mon, 6 Nov 2017 19:55:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E427829E3B for ; Mon, 6 Nov 2017 19:55:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754008AbdKFTzt (ORCPT ); Mon, 6 Nov 2017 14:55:49 -0500 Received: from mail-bl2nam02on0087.outbound.protection.outlook.com ([104.47.38.87]:48616 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753973AbdKFTzq (ORCPT ); Mon, 6 Nov 2017 14:55:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4+lldP6tv07qFv69zKcT3R1fogHAOcZdCreZ3/fQANE=; b=LGor55zthmQc8pL+nD5eQv5HXzmO033TrASOar8SXO5osJdH2XuL3zv/RB5KD7eg+qwvkLDWPgkpssAJsIejHiAOvXxlqXnWUH4sXb988f1324ZxekIutfRQDe0cktZuZ/xtC3E9lQu8hEk849YQ5KjSx7ZlIP7H8R2t/VdXoaU= Received: from DM5PR07CA0047.namprd07.prod.outlook.com (10.168.109.33) by SN1PR0701MB1950.namprd07.prod.outlook.com (10.163.131.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Mon, 6 Nov 2017 19:55:44 +0000 Received: from BY2FFO11FD039.protection.gbl (2a01:111:f400:7c0c::195) by DM5PR07CA0047.outlook.office365.com (2603:10b6:3:16::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.197.13 via Frontend Transport; Mon, 6 Nov 2017 19:55:44 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BY2FFO11FD039.mail.protection.outlook.com (10.1.14.224) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.178.5 via Frontend Transport; Mon, 6 Nov 2017 19:55:43 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Mon, 6 Nov 2017 11:55:31 -0800 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id vA6JtVLj017451; Mon, 6 Nov 2017 11:55:31 -0800 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id vA6JtVF3017450; Mon, 6 Nov 2017 11:55:31 -0800 From: Himanshu Madhani To: , CC: , Subject: [PATCH 2/4] qla2xxx_nvmet: Added Makefile and Kconfig changes Date: Mon, 6 Nov 2017 11:55:28 -0800 Message-ID: <20171106195530.17408-3-himanshu.madhani@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20171106195530.17408-1-himanshu.madhani@cavium.com> References: <20171106195530.17408-1-himanshu.madhani@cavium.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(2980300002)(428002)(189002)(199003)(33646002)(105586002)(2906002)(5660300001)(101416001)(47776003)(48376002)(356003)(106466001)(1076002)(305945005)(87636003)(189998001)(69596002)(80596001)(36756003)(50466002)(110136005)(50226002)(81156014)(54906003)(81166006)(72206003)(76176999)(50986999)(316002)(16586007)(2950100002)(4326008)(5003940100001)(8676002)(8936002)(86362001)(575784001)(478600001)(42186006)(6666003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0701MB1950; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD039; 1:qUq97pxc4wtomAMex9H+fX6icsq/UIqk+iowrUmFfMDfBxQDrlaUhix0rh790FeE1UotSWLtHQRLfYoneGlUhUSTsTxz7IjSYH6JSfAoAmIrEu8fEtH4qVVjh/xQmLfb X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2b8d66f2-94d5-4664-340d-08d525505da7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603249); SRVR:SN1PR0701MB1950; X-Microsoft-Exchange-Diagnost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Tlu2jijCvJ53TgFKXsyVH9F5EAQ32cX6iBrCjodUCiMEgOEMV+d5A289usBNYwCAkkaVAVfEnBqWbu2PldP1S6Z0YsduolpuhxkNCzByAc/O/uZh+q1v4yAqqkSeAFYqMTHKOfJk2RH2mvbBimuQHN+MW7pVH0fJk42apydLG6n1A45P6NmQTndi+t0Clvmd2Q1ahjHNc5vQGULKSvk6IhVvtK9TOKk2i+UdXhg1tWR5QuJflVBbaheyH+/J4iRG+4oba4dDp/1zytjEsNH5giMQ/kvD1VbOV0jV8fWweFntdrrAqUjhBIlinjPPATZShF2p9L6N4e37oFIcWnBRuNKsH73e60v4ybpOcFO5XkTIifIvkyJbFq5cNIwRaWPs1xlf0K1XQK0D7pRj6aDYsSynmxztsAHLnN4UYyUlgsYoH/GOwB7Ky4JSyD1bLQQUNfhGfpM9B/I541kAkMLiziR58L7lSUQ6 X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(3231021)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123555025)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN1PR0701MB1950; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN1PR0701MB1950; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1950; 4:8A13rgXwiEI2HifmB/aZCHndGPA5QtHmUeE8hTkVrsYH1/uLPjiXlig3l9ioAL/V9F5FMyUJSh8HcLgEScKKt/K2FpLa9GGkTgiai4XgH0xySlh3BRHZ9K/jpaD6rWD/NwMwf7gZW4F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Ke7E7yVJvAznB2zRT4OCgVUrLygGXWDGttkMWkaKbRHc6XakSFlpHQk869hw=; 7:9ePe13XBMQM88wP4qIlfSuef/yuAotvFhvTkrup9YgMuopKYf+PhdLJtgzzin/aY5M17ay1mRuNg7q5D6RwVQeCJYaMtTsP0EfdRQvZJSeUOOOCIIVS0ElSMNgj23uTd7MTfwJ/1GjRdLZaiYoxmHtbxCrL1e43vH9iO0Ts39Pbizkcris2LTGzR9YWSIU1LVh5Ask+QGFqTWUfkQ44YOsaBVDmLBvO4yvE/8fLRucpTDTLnVE6tYoAWpA6XxD4n SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2017 19:55:43.9615 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2b8d66f2-94d5-4664-340d-08d525505da7 X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0701MB1950 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Anil Gurumurthy Signed-off-by: Anil Gurumurthy Signed-off-by: Giridhar Malavali Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/Kconfig | 1 + drivers/scsi/qla2xxx/Makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/Kconfig b/drivers/scsi/qla2xxx/Kconfig index 036cc3f217b1..f1539d8b68ef 100644 --- a/drivers/scsi/qla2xxx/Kconfig +++ b/drivers/scsi/qla2xxx/Kconfig @@ -3,6 +3,7 @@ config SCSI_QLA_FC depends on PCI && SCSI depends on SCSI_FC_ATTRS depends on NVME_FC || !NVME_FC + depends on NVME_TARGET_FC || !NVME_TARGET_FC select FW_LOADER select BTREE ---help--- diff --git a/drivers/scsi/qla2xxx/Makefile b/drivers/scsi/qla2xxx/Makefile index 0b767a0bb308..5b6838ac57bb 100644 --- a/drivers/scsi/qla2xxx/Makefile +++ b/drivers/scsi/qla2xxx/Makefile @@ -1,6 +1,7 @@ qla2xxx-y := qla_os.o qla_init.o qla_mbx.o qla_iocb.o qla_isr.o qla_gs.o \ qla_dbg.o qla_sup.o qla_attr.o qla_mid.o qla_dfs.o qla_bsg.o \ - qla_nx.o qla_mr.o qla_nx2.o qla_target.o qla_tmpl.o qla_nvme.o + qla_nx.o qla_mr.o qla_nx2.o qla_target.o qla_tmpl.o qla_nvme.o \ + qla_nvmet.o obj-$(CONFIG_SCSI_QLA_FC) += qla2xxx.o obj-$(CONFIG_TCM_QLA2XXX) += tcm_qla2xxx.o