From patchwork Tue Sep 19 17:10:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viswas G X-Patchwork-Id: 9959699 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 CDF6D60208 for ; Tue, 19 Sep 2017 17:11:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B96FB28EAD for ; Tue, 19 Sep 2017 17:11:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB29A28EC7; Tue, 19 Sep 2017 17:11:02 +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 37D6028EE0 for ; Tue, 19 Sep 2017 17:11:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751517AbdISRLB (ORCPT ); Tue, 19 Sep 2017 13:11:01 -0400 Received: from mail-by2nam01on0046.outbound.protection.outlook.com ([104.47.34.46]:23749 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751457AbdISRKk (ORCPT ); Tue, 19 Sep 2017 13:10:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mscc365.onmicrosoft.com; s=selector1-microsemi-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dkhY83tHo2SGuVdw0yH8XNu5vL59Uc/hwkk1CEKOUcQ=; b=UyoGPtiIFmeg08BatEw11tQeFB3O996Yvgm6xiZ5kkPMm4luNEmmnv1VXScvEVIO1ZARC30nZkVHDlOFyJL+Lfjq/OHbSSj7Er2az4MTnt8QptOLSOqRZrw5IgUpq2wnAdj0Oyh+sWnbocyJfiVXKCOErYKfasVP1NA2M0hYIU0= Received: from SN4PR0201CA0072.namprd02.prod.outlook.com (10.171.31.162) by CY1PR0201MB1451.namprd02.prod.outlook.com (10.163.139.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Tue, 19 Sep 2017 17:10:39 +0000 Received: from BN1AFFO11FD044.protection.gbl (2a01:111:f400:7c10::109) by SN4PR0201CA0072.outlook.office365.com (2603:10b6:803:20::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11 via Frontend Transport; Tue, 19 Sep 2017 17:10:39 +0000 Authentication-Results: spf=pass (sender IP is 208.19.100.21) smtp.mailfrom=microsemi.com; oracle.com; dkim=none (message not signed) header.d=none;oracle.com; dmarc=bestguesspass action=none header.from=microsemi.com; Received-SPF: Pass (protection.outlook.com: domain of microsemi.com designates 208.19.100.21 as permitted sender) receiver=protection.outlook.com; client-ip=208.19.100.21; helo=avsrvexchhts1.microsemi.net; Received: from avsrvexchhts1.microsemi.net (208.19.100.21) by BN1AFFO11FD044.mail.protection.outlook.com (10.58.52.191) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.35.14 via Frontend Transport; Tue, 19 Sep 2017 17:10:38 +0000 Received: from localhost (10.187.72.81) by avsrvexchhts1.microsemi.net (10.100.34.105) with Microsoft SMTP Server id 14.3.361.1; Tue, 19 Sep 2017 10:10:22 -0700 From: Viswas G To: CC: , , , , , Subject: [PATCH V3 9/9] pm80xx : corrected linkrate value. Date: Tue, 19 Sep 2017 22:40:04 +0530 Message-ID: <20170919171004.10331-10-Viswas.G@microsemi.com> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170919171004.10331-1-Viswas.G@microsemi.com> References: <20170919171004.10331-1-Viswas.G@microsemi.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:208.19.100.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(346002)(376002)(2980300002)(438002)(189002)(199003)(53936002)(50986999)(76176999)(47776003)(8676002)(356003)(305945005)(81156014)(81166006)(106466001)(5003940100001)(2351001)(68736007)(36756003)(54906002)(8936002)(69596002)(104016004)(57986006)(50226002)(76506005)(478600001)(189998001)(5660300001)(97736004)(2906002)(4326008)(6916009)(316002)(1076002)(16586007)(6666003)(2950100002)(77096006)(86362001)(50466002)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0201MB1451; H:avsrvexchhts1.microsemi.net; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD044; 1:5fWcCFgJ+2E+x4FVGkHmPF+koRPu+nbcNVlQtOr5EgjjRZKgYThzP9GaWrFD3ibQdxOofTIHTiHdMO4iBugGo/SYGYsZIDGWZHUlpKpDgWWGu4h+ZspferMU2XAxCGIs X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 07d5948e-283b-4104-a7ba-08d4ff8159ea X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(8251501002)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY1PR0201MB1451; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1451; 3:9yRoWnQ/61oVv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THPgWpuM8QjRopJTiJ6WWsLTLrbEOIRcEAdRsqzoKgVqPAtUTTL8I7pCQil9ZrlaKYB3c1zrN6bkdMeKvPV38rDt19OO9yc+wT0OhuJMtzU3G8NVvCySkuYUznYOEZZcxnEetBlQeYgf7VcLGD1Z/UnoeMCrmocEqQEQUnn7rXx6eQnvdzx0D9Xzo6EI0nTiRTgFOM36q282CS8u3w89ur/l2eYHI4uyUYmtVa7HlYUinbPWzmryUo7hzZEsDWqgr6jx6DNFVL7raCYwBkwhsziqPyr+MJ0xcTBBVmA4W5iF7eYfS86oOXRagZELuyE6RUEtjlLbzlAj156MiLCETP9MB2HQw4IPmTQLN7N1e90GSFgBBtGu6kBGGjaYgl5sVLBcKQRn3dvKJFY7dcZkEFyM8A7xC8g46dudVniEvnPuRl0MVjQz9Unxhf7yvOs X-Exchange-Antispam-Report-Test: UriScan:(72170198267865); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(93004095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123558100)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0201MB1451; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0201MB1451; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1451; 4:AadDmbvXiVGm9NQ/wpJpP/CEFetQunupbIfU5U5d/xsWesdQb6e5R9palaIF1GGIBFBJWhs6JKLDWXy+Y0NPgi5S7oBtoqT6mYgw/SvR1LpXo8c7RaakGtsKHkgPkxcJoulBjOI8/6hknPsMKrH7V36B1aFU3AiYSi04yB0M/InLH2Wciz2bYE7cIzQQ/w68fhQl6TpiaIT8G6XUl/aksv4thjskiyd+rdCpT/MbPFtFm6dPyDD1YxXMD58btwNJ1V13IO/IaX0+kh17JjPl3wK44SNgsM1swVwMDovhnik= X-Forefront-PRVS: 04359FAD81 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0201MB1451; 23:IpSVMTq6l+1MUGfGA96CmEF50rktybCAmmqV8vn?= =?us-ascii?Q?Ls4bxOgLgQ/wADRAFvmbxxZETnl5qBOBdqzX2Vn2pj66a19OpbwFovURgQes?= =?us-ascii?Q?h8+r1lskrI7D48qO7pcDhfXUCkdFoh7SKU1GK/aNgLK+Q3U6fL6vOdmpO2sP?= =?us-ascii?Q?f3y9TTQOoXrKYOVrVaUhqmbei4SPune/S1EeLr7GNCeEA0avlMlylieDOzpM?= =?us-ascii?Q?/f2rVp/FKt4f+9GGOUhhC10f0ebWnu6cMQdrhdRXd9zHb+Gwq3x+3FfCnk8l?= =?us-ascii?Q?kVNzhk+fZvLSviWLoOMVRd74C+1HuewkSSxKPmWD1oNzo7c+DSU4MOKHB5Rn?= =?us-ascii?Q?4lbJq7Zt0KKMGec4GOUz09HScIu8bEf/+KgVu1ji3nrvO4mDksgdogbij6ib?= =?us-ascii?Q?5ALuXyTbqM8pLMvaFYDw+A2wEjiTQ+LhC+BktyhOPmRR951OYxWyx3hlngD0?= =?us-ascii?Q?4UVuTD7HCBVMnTr1V2+NL6zBH9B7yib2OgF1nj50oC05l5VJhBXLusVGqEjR?= =?us-ascii?Q?eMHYt/UxIiJjRZRwvPMUY7LACO5ukhIuy81hS5NvEQpeJRrBdUw6t1YzIgne?= =?us-ascii?Q?WQFFK9gu3cZduaqKdKkh5e3TLwc1tkmAWs4k7rThoP6xErYJqCG7jthRBk4J?= =?us-ascii?Q?T/JE0kdwmkgv3CNyeGio1KadCTV0rt8pe3vKq2kxN8o3OKLwwtt/ARCCTFuK?= =?us-ascii?Q?1jdhr4DdzczIYZMqpAvjs6ZgcmrUG3X2+LBl30p6Y8CnGLyv3NOsW/8LMtad?= =?us-ascii?Q?vjrBfACinMXrG+886O7o2fO1igLosQXe54wGKJmfEsCHPC/93d9F8SLCGwIK?= =?us-ascii?Q?nIo9c2JRMBrt0X+tyCn9EpF/Av7iUyTvzADH0b/jzOB3UO8izZJSVaBupxiW?= =?us-ascii?Q?xCQLgrsXi2Yia7lBhFfwvV+6Oip56x+ylxpcLi2LOyjZcc9Xl+fX1QGHUCZ8?= =?us-ascii?Q?iPUu4IjxImeK8DKEGh3o1OFDk9fHqCEc8HT89lvW8zOSKrIJHl1etNK00klf?= =?us-ascii?Q?o6KiNhiZLIntFC97MfXntsr33I2RteC2s5j8I1xslBrMIAhvB/TGdmggEVFs?= =?us-ascii?Q?D+pg692RiAAAKE/pxQTDb2fv/QU6H?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1451; 6:9T+gI6X7HH9ydYRN/bD/uiEglaam2kHiUSLNZ4QTm7tmKHNaE2BinQLm39OurPCh+JNIITh+8Yc6ww0XArh69YaA87ysppWyFZiLufd/44aQubFTh9WjLEqMArZOT8/T/fStghe0B6+Ba96pZ399I3LO5Wz9/LhhShKpe1DbdhZ2WKihelWu8gezBmvXpgRxdjAvsovUiotwfvV+NokYDU/zSPawPz7DVucy39EdkJHwVCDNmH4HRKT2Io9hlR36cc2kMD1I4OjBcYMxd5nbM6qnSGUjeyMIgIjGZJ3aYfksKDAa+Hiu3LBLc0W+s/3KndkAslWC/YdmwsraqHTVWg==; 5:XDHIREdCZ/7XkItm1aCVhgD3289jNQkzRTs0WgmV+4P71a3R8FW+rYy/yyz1OrIleYO4MsyyRrVB4mClQDr9qBFWaHnfH8ICCXzpr9z/6QB19/BljEMNLzzYW7K6A/QQKYkPappUzUZmqNMvLjkV3A==; 24:W4Nq3Rjtbf9+xHyG6QCYMBSJaeqRrj860gJQslePQERLQ5YGUL3MXcOZdUZbEtXSZYqvZMXzygSxAbbB4+wYeBd0o05ClmuYyifYGeXuKfM=; 7:ep5OpO761BEqlXA07MD1AgpDnXJNgf9YWb6S4jKDpgW3Ej5e+mNEVZDP16yMxEWrbSx/QXtW/BssHv+Gz2EqNGmw59BpVE8SezbvMflaqX4dyHPoEgVncEV38lXrE4xM+Qvl64TYsfIWOzNsviS6V9YtR1MfnXMZSPLBToCQEXceXNxpr0SyY3etkl21CqkAeLSxqvSAgGDwofgztIHkM/0Dp0FJPJsPlhoTW08Efzk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2017 17:10:38.6597 (UTC) X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad; Ip=[208.19.100.21]; Helo=[avsrvexchhts1.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0201MB1451 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 Corrected the value defined for LINKRATE_60 (6 Gig). Signed-off-by: Raj Dinesh Signed-off-by: Viswas G Acked-by: Jack Wang --- drivers/scsi/pm8001/pm80xx_hwi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/pm8001/pm80xx_hwi.h b/drivers/scsi/pm8001/pm80xx_hwi.h index e36c5176f9a9..889e69ce3689 100644 --- a/drivers/scsi/pm8001/pm80xx_hwi.h +++ b/drivers/scsi/pm8001/pm80xx_hwi.h @@ -167,7 +167,7 @@ #define LINKMODE_AUTO (0x03 << 12) #define LINKRATE_15 (0x01 << 8) #define LINKRATE_30 (0x02 << 8) -#define LINKRATE_60 (0x06 << 8) +#define LINKRATE_60 (0x04 << 8) #define LINKRATE_120 (0x08 << 8) /* phy_profile */