From patchwork Tue Oct 10 13:11:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sreekanth Reddy X-Patchwork-Id: 9996099 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 5A27C603B5 for ; Tue, 10 Oct 2017 13:14:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B099285C9 for ; Tue, 10 Oct 2017 13:14:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 400C8285CE; Tue, 10 Oct 2017 13:14:01 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM autolearn=unavailable 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 ADE2E285CA for ; Tue, 10 Oct 2017 13:14:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756392AbdJJNNt (ORCPT ); Tue, 10 Oct 2017 09:13:49 -0400 Received: from mail-qt0-f169.google.com ([209.85.216.169]:52914 "EHLO mail-qt0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932172AbdJJNMf (ORCPT ); Tue, 10 Oct 2017 09:12:35 -0400 Received: by mail-qt0-f169.google.com with SMTP id o52so50938810qtc.9 for ; Tue, 10 Oct 2017 06:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=X16VDwsrM67NduLeuAvOWkeNHox9Cuzk50HBVqBuPrI=; b=LSts71sWY9t+GSlqmwnE7knY6T2Y7SuvKfNj4vnXXzD9fY4GubcRt9Oisc8znOQTYU 7C6YJY1Oc24sowvmiguBidIrFLZEg5vDWgJCCdotwD2IHRuljHlfHN9UsZ7NooyWUeF8 ofF4vPaVTX1Bx5h99iS012k0zTNaL3qn2ImvY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=X16VDwsrM67NduLeuAvOWkeNHox9Cuzk50HBVqBuPrI=; b=YMt/S5NwODBXtyfa5LuUiNZcV1PiHZxlfOSqzA38HxBwu6rZd2fYPAwx0Amdsq+S0r Brcqg+E9O+Uxdt3hRTu1SxkM/5Up1sVl68655OegdrL0XKVRHzHulrrzbveEIQHM8nal TgYHf8Yj9kSbOKABFJ4m/svzzBOLKPslJL0n007EmfO8KcZXSvISTkp1HmcDivkVIOF6 CURH+SiaDNFd7bcSJFqbNccP9PPHNR4gXGanE3iTQQUixNHOTJKvbwI8HjXN8O5TEFso Q3pUyBXEO7BxASbQrlQN4ADLyxmHwp+EOHRRwlDd2QWnc5L9j6gbsMIPrK3JHkSSaoDr EL1w== X-Gm-Message-State: AMCzsaUSiv5Q7K1k9F/qbbuaBdNnlIstolTza2bRwWuXAEcpG5RV6j8A NCVv9qgHPXXBHP5LUsqNuR8pLGGE X-Google-Smtp-Source: AOwi7QCWtlZ+poPqeThzhkwa/Of2UFXy8yjAcSerbD45G/s1Huy+mTueoJWHIidd1U16ksJgKSXWLg== X-Received: by 10.200.63.167 with SMTP id d36mr19970047qtk.7.1507641154322; Tue, 10 Oct 2017 06:12:34 -0700 (PDT) Received: from host1.dhcp.avagotech.net ([192.19.239.250]) by smtp.gmail.com with ESMTPSA id h135sm634004qke.5.2017.10.10.06.12.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Oct 2017 06:12:33 -0700 (PDT) From: Sreekanth Reddy X-Google-Original-From: Sreekanth Reddy To: linux-scsi@vger.kernel.org, hch@infradead.org Cc: martin.petersen@oracle.com, JBottomley@Parallels.com, Sathya.Prakash@broadcom.com, linux-kernel@vger.kernel.org, Sreekanth Reddy Subject: [PATCH 09/10] mpt3sas: Adding support for SAS3616 HBA device Date: Tue, 10 Oct 2017 18:41:22 +0530 Message-Id: <1507641083-20207-10-git-send-email-Sreekanth.Reddy@broadcom.com> X-Mailer: git-send-email 2.0.2 In-Reply-To: <1507641083-20207-1-git-send-email-Sreekanth.Reddy@broadcom.com> References: <1507641083-20207-1-git-send-email-Sreekanth.Reddy@broadcom.com> 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 Adding PNP ID of Mercator i.e. SAS3616 HBA device. Its device ID is 0xD1 and vendor ID is 0x1000. Signed-off-by: Sreekanth Reddy Reviewed-by: Tomas Henzl --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c index b819914..3f640ba 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c @@ -8808,6 +8808,7 @@ _scsih_determine_hba_mpi_version(struct pci_dev *pdev) case MPI26_MFGPAGE_DEVID_SAS3516: case MPI26_MFGPAGE_DEVID_SAS3516_1: case MPI26_MFGPAGE_DEVID_SAS3416: + case MPI26_MFGPAGE_DEVID_SAS3616: return MPI26_VERSION; } return 0; @@ -8885,6 +8886,7 @@ _scsih_probe(struct pci_dev *pdev, const struct pci_device_id *id) case MPI26_MFGPAGE_DEVID_SAS3516: case MPI26_MFGPAGE_DEVID_SAS3516_1: case MPI26_MFGPAGE_DEVID_SAS3416: + case MPI26_MFGPAGE_DEVID_SAS3616: ioc->is_gen35_ioc = 1; break; default: @@ -9341,6 +9343,9 @@ static const struct pci_device_id mpt3sas_pci_table[] = { PCI_ANY_ID, PCI_ANY_ID }, { MPI2_MFGPAGE_VENDORID_LSI, MPI26_MFGPAGE_DEVID_SAS3416, PCI_ANY_ID, PCI_ANY_ID }, + /* Mercator ~ 3616*/ + { MPI2_MFGPAGE_VENDORID_LSI, MPI26_MFGPAGE_DEVID_SAS3616, + PCI_ANY_ID, PCI_ANY_ID }, {0} /* Terminating entry */ }; MODULE_DEVICE_TABLE(pci, mpt3sas_pci_table);