From patchwork Wed May 27 07:19:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Narsimhulu Musini X-Patchwork-Id: 6487891 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 951739F1C1 for ; Wed, 27 May 2015 07:25:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BA8F1206E5 for ; Wed, 27 May 2015 07:25:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AD806206EF for ; Wed, 27 May 2015 07:25:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752520AbbE0HY6 (ORCPT ); Wed, 27 May 2015 03:24:58 -0400 Received: from alln-iport-6.cisco.com ([173.37.142.93]:18210 "EHLO alln-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501AbbE0HYs (ORCPT ); Wed, 27 May 2015 03:24:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3115; q=dns/txt; s=iport; t=1432711488; x=1433921088; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=By5YR4t3x2X1AkWqvBtgvn8SyqSe+0i+0QWP8GwBvII=; b=WbleFYOGXF3mf8S3qm4FkpXF5EetEpbp6HjoXmnOWykZfi1QqXe9L2cU 8PcOpWpBDQYKcFmBTsrm2Z7f8MvOZhpJdwAtPNz7KnuaY1RNkKEjUDfLn zUfvTvbQQDPBfg1h2U7V8E3Wdy/Bs+Ak5+vHSK7ZcNpVK/nNwoQKS8F9/ 4=; X-IronPort-AV: E=Sophos;i="5.13,503,1427760000"; d="scan'208";a="153737320" Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-6.cisco.com with ESMTP; 27 May 2015 07:24:47 +0000 Received: from hishah-lnx.cisco.com (dhcp-171-71-13-47.cisco.com [171.71.13.47]) (authenticated bits=0) by rcdn-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id t4R7Oafe000508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 May 2015 07:24:46 GMT From: Narsimhulu Musini To: James.Bottomley@HansenPartnership.com, linux-scsi@vger.kernel.org, hare@suse.de Cc: Narsimhulu Musini , Sesidhar Baddela Subject: [PATCH v6 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS Date: Wed, 27 May 2015 00:19:42 -0700 Message-Id: <1432711182-17530-10-git-send-email-nmusini@cisco.com> X-Mailer: git-send-email 1.8.5.4 In-Reply-To: <1432711182-17530-1-git-send-email-nmusini@cisco.com> References: <1432711182-17530-1-git-send-email-nmusini@cisco.com> X-Authenticated-User: nmusini@cisco.com Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-14.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY, USER_IN_DEF_DKIM_WL autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Kconfig for kbuild Makefile to build snic module Updated MAINTAINERS file Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Added additional config section (CONFIG_SNIC_DEBUG_FS) for enabling debugging functionality. * v2 - Added compile time flags for debugfs dependent functionality. MAINTAINERS | 7 +++++++ drivers/scsi/Kconfig | 17 +++++++++++++++++ drivers/scsi/Makefile | 1 + drivers/scsi/snic/Makefile | 21 +++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 drivers/scsi/snic/Makefile diff --git a/MAINTAINERS b/MAINTAINERS index 2a97e05..368fb76 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2536,6 +2536,13 @@ L: linux-scsi@vger.kernel.org S: Supported F: drivers/scsi/fnic/ +CISCO SCSI HBA DRIVER +M: Narsimhulu Musini +M: Sesidhar Baddela +L: linux-scsi@vger.kernel.org +S: Supported +F: drivers/scsi/snic/ + CMPC ACPI DRIVER M: Thadeu Lima de Souza Cascardo M: Daniel Oliveira Nascimento diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 9c92f41..8baab3f 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -634,6 +634,23 @@ config FCOE_FNIC . The module will be called fnic. +config SCSI_SNIC + tristate "Cisco SNIC Driver" + depends on PCI && SCSI && X86_64 + help + This is support for the Cisco PCI-Express SCSI HBA. + + To compile this driver as a module, choose M here and read + . + The module will be called snic. + +config SCSI_SNIC_DEBUG_FS + bool "Cisco SNIC Driver Debugfs Support" + depends on SCSI_SNIC && DEBUG_FS + help + This enables to list debugging information from SNIC Driver + available via debugfs file system + config SCSI_DMX3191D tristate "DMX3191D SCSI support" depends on PCI && SCSI diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile index 58158f1..f643942 100644 --- a/drivers/scsi/Makefile +++ b/drivers/scsi/Makefile @@ -39,6 +39,7 @@ obj-$(CONFIG_LIBFC) += libfc/ obj-$(CONFIG_LIBFCOE) += fcoe/ obj-$(CONFIG_FCOE) += fcoe/ obj-$(CONFIG_FCOE_FNIC) += fnic/ +obj-$(CONFIG_SCSI_SNIC) += snic/ obj-$(CONFIG_SCSI_BNX2X_FCOE) += libfc/ fcoe/ bnx2fc/ obj-$(CONFIG_ISCSI_TCP) += libiscsi.o libiscsi_tcp.o iscsi_tcp.o obj-$(CONFIG_INFINIBAND_ISER) += libiscsi.o diff --git a/drivers/scsi/snic/Makefile b/drivers/scsi/snic/Makefile new file mode 100644 index 0000000..572102a --- /dev/null +++ b/drivers/scsi/snic/Makefile @@ -0,0 +1,21 @@ +obj-$(CONFIG_SCSI_SNIC) += snic.o + +snic-y := \ + snic_attrs.o \ + snic_main.o \ + snic_res.o \ + snic_isr.o \ + snic_ctl.o \ + snic_io.o \ + snic_scsi.o \ + snic_disc.o \ + vnic_cq.o \ + vnic_intr.o \ + vnic_dev.o \ + vnic_wq.o + +ifeq ($(CONFIG_SCSI_SNIC_DEBUG_FS), y) +ccflags-y += -DSNIC_DEBUG_FS +snic-y += snic_debugfs.o \ + snic_trc.o +endif