Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/561993/?format=api
{ "id": 561993, "url": "http://patchwork.ozlabs.org/api/patches/561993/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160101-v4-cc-2@vittgam.net/", "project": { "id": 45, "url": "http://patchwork.ozlabs.org/api/projects/45/?format=api", "name": "OpenWrt development", "link_name": "openwrt", "list_id": "openwrt-devel.lists.openwrt.org", "list_email": "openwrt-devel@lists.openwrt.org", "web_url": "http://openwrt.org/", "scm_url": "git://git.openwrt.org/openwrt.git", "webscm_url": "https://dev.openwrt.org/browser", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<owrt-patch-20160101-v4-cc-2@vittgam.net>", "list_archive_url": null, "date": "2015-12-31T23:00:05", "name": "[OpenWrt-Devel,v4,2/4,CC] ramips: Fix comment in rt3052 ethernet switch driver.", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "cd78c81c202fbb4c58a52d8e59034c08a03168ed", "submitter": { "id": 65409, "url": "http://patchwork.ozlabs.org/api/people/65409/?format=api", "name": "Vittorio Gambaletta", "email": "openwrt@vittgam.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160101-v4-cc-2@vittgam.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/561993/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/561993/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<openwrt-devel-bounces@lists.openwrt.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 40911140BF7\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 1 Jan 2016 10:03:54 +1100 (AEDT)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id D601A28BFE4;\n\tFri, 1 Jan 2016 00:00:20 +0100 (CET)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 671672807A8\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 31 Dec 2015 23:59:46 +0100 (CET)", "from mail.vittgam.net (server1.vittgam.net [213.239.197.142])\n\tby arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 31 Dec 2015 23:59:39 +0100 (CET)", "from vl2 (vittgamlaptop2.r1.network.mietitrebbia.rocks\n\t[10.48.3.146]) by mail.vittgam.net with SMTP id tBVN00oo082907;\n\tFri, 1 Jan 2016 00:00:03 +0100" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n\tunprotected) header.d=vittgam.net header.i=@vittgam.net\n\theader.b=Sy4j42rH; dkim-atps=neutral", "X-Spam-Checker-Version": "SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,\n\tT_DKIM_INVALID autolearn=unavailable version=3.3.2", "X-policyd-weight": "using cached result; rate:hard: -7.6", "X-DKIM": "OpenDKIM Filter v2.4.2 mail.vittgam.net tBVN00oo082907", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1451602804;\n\tbh=TYpkCsTHIr+ZOulGWwRidIt3rSTKFheYvVZfICpFl4k=;\n\th=From:To:Date:Subject:Content-Type:Message-ID:In-Reply-To:\n\tReferences;\n\tb=Sy4j42rHp5Retc9wLhLwoolCt0DWleRqhSA81M0hmbw8kmaA+G3JVKBlndHxypfep\n\tEvOxZezNaeg2b/K2LLMYfZa3GxHCmWHN2t9EfRQln3RKMBVOaUsbv7TnxJbh/tm1y8\n\tlNN1XmdRyFhZuIruMOqNp6LhDuBq4U1v3Utj7pSfLzq2TExN6SHM+tIDf4n0QIj+P2\n\tkKZwiTe+OkLhtjXn09ESKf2O39e1ZV5rj7a+h2GH3T4iezFiIuKaYG91N5JJAn2yXu\n\ttdhjTf+5Ub7YiVB8KcuGaL6bbuI5EZAgNQZgG+wYmYE8pARX+KatrOefUBSFkUWYCq\n\tzE1a30G5daDqjRvZozUCBGJHDCoKsc26/9TXlAi6rlpnhrpfinlIfKJC1VyIafDRKs\n\tHoqIb57fSNTf8rpTvO27TXXyNqbAi60YjfN14yjs8bhRjPV+SWJMO6upGFBuI0L+Zp\n\tWbj90ZHrt0DFKxadt1xqgcmjlh2LFa0Fb7rZCDykeaK7wBEFWolOJorSxNynt1FYQY\n\tbv5QohAWAx6uTwkS+L7TlZIokUIhXsvkvNQ0y8V4bajSAdPrcpQyzyp6EJtyppdECr\n\tTE9Y8rFWg6z2OXgKoYtio4/qDgQap+IjDrcOdmrvU0VBu3ld7XogOGdKXXzr99sNnS\n\t0b83t/hHto/eGuR7Nk+dYgjA=", "From": "\"Vittorio G (VittGam)\" <openwrt@vittgam.net>", "To": "<openwrt-devel@lists.openwrt.org>", "Date": "Fri, 01 Jan 2016 00:00:05 +0100", "Message-ID": "<owrt-patch-20160101-v4-cc-2@vittgam.net>", "In-Reply-To": "<owrt-patch-20160101-v4-cc-1@vittgam.net>", "References": "<owrt-patch-20160101-v4-cc-1@vittgam.net>", "Subject": "[OpenWrt-Devel] [PATCH v4 2/4] [CC] ramips: Fix comment in rt3052\n\tethernet switch driver.", "X-BeenThere": "openwrt-devel@lists.openwrt.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "OpenWrt Development List <openwrt-devel.lists.openwrt.org>", "List-Unsubscribe": "<https://lists.openwrt.org/cgi-bin/mailman/options/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe>", "List-Archive": "<http://lists.openwrt.org/pipermail/openwrt-devel/>", "List-Post": "<mailto:openwrt-devel@lists.openwrt.org>", "List-Help": "<mailto:openwrt-devel-request@lists.openwrt.org?subject=help>", "List-Subscribe": "<https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "openwrt-devel-bounces@lists.openwrt.org", "Sender": "\"openwrt-devel\" <openwrt-devel-bounces@lists.openwrt.org>" }, "content": "Line 461 is actually enabling all switch ports by setting the disable bits\nto 0. This needs to be done because the bootloader sets all ports to disabled\nby default (which is the case for at least one router based on RT5350).\n\nSo, this patch fixes the comment in line 460.\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n---", "diff": "--- a/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c\n+++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c\n@@ -457,7 +457,7 @@ static void esw_hw_init(struct rt305x_esw *esw)\n \t\t (RT305X_ESW_PORTS_ALL << RT305X_ESW_PFC1_EN_VLAN_S),\n \t\t RT305X_ESW_REG_PFC1);\n \n-\t/* Enable Back Pressure, and Flow Control */\n+\t/* Enable all ports, Back Pressure and Flow Control */\n \tesw_w32(esw,\n \t\t ((RT305X_ESW_PORTS_ALL << RT305X_ESW_POC0_EN_BP_S) |\n \t\t (RT305X_ESW_PORTS_ALL << RT305X_ESW_POC0_EN_FC_S)),\n", "prefixes": [ "OpenWrt-Devel", "v4", "2/4", "CC" ] }