From patchwork Wed Nov 11 12:00:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sreekanth Reddy X-Patchwork-Id: 7595371 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 559999F2E9 for ; Wed, 11 Nov 2015 12:04:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B7982075F for ; Wed, 11 Nov 2015 12:04:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B6FE2073B for ; Wed, 11 Nov 2015 12:04:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752551AbbKKMDQ (ORCPT ); Wed, 11 Nov 2015 07:03:16 -0500 Received: from mail-pa0-f42.google.com ([209.85.220.42]:34391 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753135AbbKKMDN (ORCPT ); Wed, 11 Nov 2015 07:03:13 -0500 Received: by padhx2 with SMTP id hx2so29772050pad.1 for ; Wed, 11 Nov 2015 04:03:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=avagotech.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XWrio6ROH+Gd/yhHG5SSwt3tkxCalt5KK0K5kaYTjM8=; b=J84uH6YLmxBKqShIgYyeqwvAa/Skf/nyPT63iPa0Z/kxMm8IrzO6i32E9A1N+Sz8q9 55TZTxWyt9zb0zeLlGs3dwZIrgIqhqUTp+nCZy+utGifrgqGwsFYxrF34Ygd7V/bEAPW n71Mr5cDIZRj9tM2p5Z0L3u1YRK57nWb7tLPM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XWrio6ROH+Gd/yhHG5SSwt3tkxCalt5KK0K5kaYTjM8=; b=UZgzUub0l5iYULkrF70HFn17E6Gnrzh9bPvLSJnScg5NtglxuRpRlzIjLq/M/NFV3M TQTVxxXWEZYqtKTR9p0XjfS5A2kZhLeGFicKo8jc+STVDLXmTwriqHn5s7r0XB44gjN8 H/vtO1lmBtAnaExMi2rEG7D4yyGYOj4oTVub7qjMe5usX6eQ355gIlLI3Ym/+KU2XcQi rokX5iRBbTb3ghBBXwz3mWlo0FsqQa1jnBUscUm45elDY21i8fxd+ZkX9vWtA5+bN4NT gmFts5ZO7W/VtPhBWD4Ix9xj6zy0TW9DvaEhvPo4HUMrxRf7wTi7xtWa7lnBfn0FUgrU 8/4g== X-Gm-Message-State: ALoCoQkRrzb2I3TPiHaSHXzJLElJgQSGI7J848mLpdwBlTfPGtaeqJsXPyEEzGA2ut7aMLzjJfm6 X-Received: by 10.68.230.103 with SMTP id sx7mr14093220pbc.146.1447243392598; Wed, 11 Nov 2015 04:03:12 -0800 (PST) Received: from host1.lsi.com ([192.19.239.250]) by smtp.gmail.com with ESMTPSA id zi1sm9180851pbc.10.2015.11.11.04.03.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Nov 2015 04:03:11 -0800 (PST) From: Sreekanth Reddy X-Google-Original-From: Sreekanth Reddy To: jejb@kernel.org Cc: martin.petersen@oracle.com, linux-scsi@vger.kernel.org, JBottomley@Parallels.com, Sathya.Prakash@avagotech.com, kashyap.desai@avagotech.com, linux-kernel@vger.kernel.org, hch@infradead.org, chaitra.basappa@avagotech.com, suganath-prabu.subramani@avagotech.com, Sreekanth Reddy Subject: [PATCH 24/25] mpt3sas: Added SCSI_MPT3SAS_MERGED config option Date: Wed, 11 Nov 2015 17:30:40 +0530 Message-Id: <1447243241-10912-25-git-send-email-Sreekanth.Reddy@avagotech.com> X-Mailer: git-send-email 2.0.2 In-Reply-To: <1447243241-10912-1-git-send-email-Sreekanth.Reddy@avagotech.com> References: <1447243241-10912-1-git-send-email-Sreekanth.Reddy@avagotech.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=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 This Kconfig option is only used for legacy mpt2sas/mpt3sas interoperability. Once this config is set, out of box driver mpt2sas and mpt3sas can reconginize difference between merged and legacy inbox driver. Used only to interface gracefully between old mpt2sas/mpt3sas and merged mpt3sas driver. Allways set for merged mpt3sas driver. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/scsi/mpt3sas/Kconfig b/drivers/scsi/mpt3sas/Kconfig index 2906146..ad171c4 100644 --- a/drivers/scsi/mpt3sas/Kconfig +++ b/drivers/scsi/mpt3sas/Kconfig @@ -45,9 +45,20 @@ config SCSI_MPT3SAS depends on PCI && SCSI select SCSI_SAS_ATTRS select RAID_ATTRS + select SCSI_MPT3SAS_MERGED ---help--- This driver supports PCI-Express SAS 12Gb/s Host Adapters. +config SCSI_MPT3SAS_MERGED + bool "Only used for legacy mpt2sas/mpt3sas interoperability" + ---help--- + Once this config is set, out of box driver mpt2sas and mpt3sas + can recongnize difference between merged and legacy inbox driver. + Used only to interface gracefully between old mpt2sas/mpt3sas and + merged mpt3sas driver. + + Always set for merged mpt3sas driver. + config SCSI_MPT2SAS_MAX_SGE int "LSI MPT Fusion SAS 2.0 Max number of SG Entries (16 - 256)" depends on PCI && SCSI && SCSI_MPT3SAS