Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/813720/?format=api
{ "id": 813720, "url": "http://patchwork.ozlabs.org/api/patches/813720/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/1505373391-18697-1-git-send-email-fahad.kunnathadi@dexceldesigns.com/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api", "name": "Linux network development", "link_name": "netdev", "list_id": "netdev.vger.kernel.org", "list_email": "netdev@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1505373391-18697-1-git-send-email-fahad.kunnathadi@dexceldesigns.com>", "list_archive_url": null, "date": "2017-09-14T07:16:31", "name": "net: phy: Fix mask value write on gmii2rgmii converter speed register.", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "e531b20c88b66686b5e5d223ae07aaa878d86afd", "submitter": { "id": 72361, "url": "http://patchwork.ozlabs.org/api/people/72361/?format=api", "name": "Fahad Kunnathadi", "email": "fahad.kunnathadi@dexceldesigns.com" }, "delegate": { "id": 34, "url": "http://patchwork.ozlabs.org/api/users/34/?format=api", "username": "davem", "first_name": "David", "last_name": "Miller", "email": "davem@davemloft.net" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/1505373391-18697-1-git-send-email-fahad.kunnathadi@dexceldesigns.com/mbox/", "series": [ { "id": 3041, "url": "http://patchwork.ozlabs.org/api/series/3041/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=3041", "date": "2017-09-14T07:16:31", "name": "net: phy: Fix mask value write on gmii2rgmii converter speed register.", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/3041/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/813720/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/813720/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xt9K73pT7z9t1t\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 14 Sep 2017 17:34:35 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751348AbdINHeX (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 14 Sep 2017 03:34:23 -0400", "from bizsmtp.net4india.com ([118.67.236.10]:34421 \"EHLO\n\tsmtp.bizmail.net4india.com\" rhost-flags-OK-OK-OK-FAIL)\n\tby vger.kernel.org with ESMTP id S1751085AbdINHeW (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Thu, 14 Sep 2017 03:34:22 -0400", "from [122.166.48.236] (helo=mailserver.dexceldesigns.com)\n\tby smtp.bizmail.net4india.com with esmtp (Exim 4.72)\n\t(envelope-from <fahad.kunnathadi@dexceldesigns.com>)\n\tid 1dsOOb-00044t-EJ; Thu, 14 Sep 2017 12:47:09 +0530", "from mailserver.dexceldesigns.com (localhost [127.0.0.1])\n\tby mailserver.dexceldesigns.com (Postfix) with ESMTPS id C01811CC3249;\n\tThu, 14 Sep 2017 12:44:44 +0530 (IST)", "from localhost (localhost [127.0.0.1])\n\tby mailserver.dexceldesigns.com (Postfix) with ESMTP id AE51F1CC23AF; \n\tThu, 14 Sep 2017 12:44:44 +0530 (IST)", "from mailserver.dexceldesigns.com ([127.0.0.1])\n\tby localhost (mailserver.dexceldesigns.com [127.0.0.1]) (amavisd-new,\n\tport 10026)\n\twith ESMTP id CZTj3-7pnTch; Thu, 14 Sep 2017 12:44:44 +0530 (IST)", "from fahad.domain.dexceldesigns.com (unknown [192.168.0.117])\n\tby mailserver.dexceldesigns.com (Postfix) with ESMTP id 91D661CC02DE; \n\tThu, 14 Sep 2017 12:44:44 +0530 (IST)" ], "X-Greylist": "delayed 1031 seconds by postgrey-1.27 at vger.kernel.org;\n\tThu, 14 Sep 2017 03:34:21 EDT", "From": "Fahad Kunnathadi <fahad.kunnathadi@dexceldesigns.com>", "To": "f.fainelli@gmail.com", "Cc": "michal.simek@xilinx.com, soren.brinkmann@xilinx.com,\n\tnetdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tlinux-kernel@vger.kernel.org,\n\tFahad Kunnathadi <fahad.kunnathadi@dexceldesigns.com>", "Subject": "[PATCH] net: phy: Fix mask value write on gmii2rgmii converter\n\tspeed register.", "Date": "Thu, 14 Sep 2017 12:46:31 +0530", "Message-Id": "<1505373391-18697-1-git-send-email-fahad.kunnathadi@dexceldesigns.com>", "X-Mailer": "git-send-email 1.9.1", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "To clear Speed Selection in MDIO control register(0x10),\nie, clear bits 6 and 13 to zero while keeping other bits same.\nBefore AND operation,The Mask value has to be perform with bitwise NOT\noperation (ie, ~ operator)\n\nThis patch clears current speed selection before writing the\nnew speed settings to gmii2rgmii converter\n\nSigned-off-by: Fahad Kunnathadi <fahad.kunnathadi@dexceldesigns.com>\n---\n drivers/net/phy/xilinx_gmii2rgmii.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/phy/xilinx_gmii2rgmii.c b/drivers/net/phy/xilinx_gmii2rgmii.c\nindex d15dd39..2e5150b 100644\n--- a/drivers/net/phy/xilinx_gmii2rgmii.c\n+++ b/drivers/net/phy/xilinx_gmii2rgmii.c\n@@ -44,7 +44,7 @@ static int xgmiitorgmii_read_status(struct phy_device *phydev)\n \tpriv->phy_drv->read_status(phydev);\n \n \tval = mdiobus_read(phydev->mdio.bus, priv->addr, XILINX_GMII2RGMII_REG);\n-\tval &= XILINX_GMII2RGMII_SPEED_MASK;\n+\tval &= ~XILINX_GMII2RGMII_SPEED_MASK;\n \n \tif (phydev->speed == SPEED_1000)\n \t\tval |= BMCR_SPEED1000;\n", "prefixes": [] }