Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754330AbbFOJw5 (ORCPT ); Mon, 15 Jun 2015 05:52:57 -0400 Received: from cantor2.suse.de ([195.135.220.15]:36671 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754072AbbFOJwt (ORCPT ); Mon, 15 Jun 2015 05:52:49 -0400 Date: Mon, 15 Jun 2015 11:52:46 +0200 From: Johannes Thumshirn To: Sreekanth Reddy Cc: jejb@kernel.org, hch@infradead.org, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, JBottomley@Parallels.com, Sathya.Prakash@avagotech.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 08/20] [SCSI] mpt3sas: Update MPI2 strings to MPI2.5 Message-ID: <20150615095246.GD5660@c203.arch.suse.de> References: <1434102153-38581-1-git-send-email-Sreekanth.Reddy@avagotech.com> <1434102153-38581-9-git-send-email-Sreekanth.Reddy@avagotech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1434102153-38581-9-git-send-email-Sreekanth.Reddy@avagotech.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2552 Lines: 63 On Fri, Jun 12, 2015 at 03:12:20PM +0530, Sreekanth Reddy wrote: > Update MPI2 strings to MPI2.5. > > Signed-off-by: Sreekanth Reddy > --- > drivers/scsi/mpt3sas/mpt3sas_base.c | 3 +-- > drivers/scsi/mpt3sas/mpt3sas_base.h | 1 - > 2 files changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c > index 32b86bf..6739c0a 100644 > --- a/drivers/scsi/mpt3sas/mpt3sas_base.c > +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c > @@ -3901,7 +3901,7 @@ _base_send_ioc_init(struct MPT3SAS_ADAPTER *ioc, int sleep_flag) > mpi_request.WhoInit = MPI2_WHOINIT_HOST_DRIVER; > mpi_request.VF_ID = 0; /* TODO */ > mpi_request.VP_ID = 0; > - mpi_request.MsgVersion = cpu_to_le16(MPI2_VERSION); > + mpi_request.MsgVersion = cpu_to_le16(MPI25_VERSION); > mpi_request.HeaderVersion = cpu_to_le16(MPI2_HEADER_VERSION); > > if (_base_is_controller_msix_enabled(ioc)) > @@ -4769,7 +4769,6 @@ mpt3sas_base_attach(struct MPT3SAS_ADAPTER *ioc) > ioc->build_sg_scmd = &_base_build_sg_scmd_ieee; > ioc->build_sg = &_base_build_sg_ieee; > ioc->build_zero_len_sge = &_base_build_zero_len_sge_ieee; > - ioc->mpi25 = 1; > ioc->sge_size_ieee = sizeof(Mpi2IeeeSgeSimple64_t); > > /* > diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h > index 9396a76..2318ef8 100644 > --- a/drivers/scsi/mpt3sas/mpt3sas_base.h > +++ b/drivers/scsi/mpt3sas/mpt3sas_base.h > @@ -819,7 +819,6 @@ struct MPT3SAS_ADAPTER { > MPT_BUILD_SG_SCMD build_sg_scmd; > MPT_BUILD_SG build_sg; > MPT_BUILD_ZERO_LEN_SGE build_zero_len_sge; > - u8 mpi25; > u16 sge_size_ieee; > > /* function ptr for MPI sg elements only */ > -- > 2.0.2 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg GF: F. Imend?rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG N?rnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/