Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/617345/?format=api
{ "id": 617345, "url": "http://patchwork.ozlabs.org/api/patches/617345/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-6@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-20160502-6@vittgam.net>", "list_archive_url": null, "date": "2016-05-02T03:34:53", "name": "[OpenWrt-Devel,3/6] ramips: Fix comment in rt3050 ethernet switch driver.", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "f59401e17cad381550beee9fb167975f012ac0a3", "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-20160502-6@vittgam.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/617345/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/617345/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", "<openwrt-devel@lists.openwrt.org>" ], "Received": [ "from arrakis.dune.hu (caladan.dune.hu [78.24.191.180])\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 3qyqgn6H7Wz9t70\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 2 May 2016 13:35:17 +1000 (AEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id B8B84B91E0D;\n\tMon, 2 May 2016 05:34:57 +0200 (CEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tMon, 2 May 2016 05:34:57 +0200 (CEST)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id A544CB91DFE\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon, 2 May 2016 05:34:53 +0200 (CEST)", "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\tMon, 2 May 2016 05:34:53 +0200 (CEST)", "from vl3 (vl3.r12.network.mietitrebbia.rocks [10.48.6.117])\n\tby mail.vittgam.net with SMTP id u423Yqoh184500\n\tfor <openwrt-devel@lists.openwrt.org>; Mon, 2 May 2016 05:34:53 +0200" ], "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=S/1sT/eh; dkim-atps=neutral", "X-Spam-Checker-Version": "SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.1", "X-policyd-weight": "using cached result; rate:hard: -6.1", "X-DKIM": "OpenDKIM Filter v2.4.2 mail.vittgam.net u423Yqoh184500", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1462160093;\n\tbh=Oh564IVMOAIsXc5i/NmygBJw5dQhY4tLxH+E/mSoxx4=;\n\th=From:To:Subject:Content-Type:Message-ID:In-Reply-To:References;\n\tb=S/1sT/ehTEXyJfZbZO4enFye3P9nHAN3WEn6GA+WBjs9rCfIC67YFvk6/MFl2xPxz\n\toL52bAEVTm8UCJErNNMmwwmbg4JXnWz1L/7Rt8Qco5JEckbTqIN1CTq61tOD4yBhIX\n\tMGKMvgZ7e+VCk6/rn1nHWq8OzzYR48UhqZv7lGw1jlTV5j23QeFB8zGDNMjymvGs7V\n\tYeY6Qcn7jE+wpTXLsdkPjNMKMT1xfa7lWYAkStexNganHpGuu3Vech1YhsMnFebhtR\n\t57XczN3uPZLBsRwyCcA03SSlD7ztWpkO5aWTfOXqI+cf1M1Lf6R46y03OxdQGgclpS\n\tEwgGcxbRlD8nzLCQ+aqjng6ZMZsF6Z9zU0Aum06Hn9lyHQhrloCGWu3VrHhpwukR40\n\tJz293zPbkzgCJemsJiCJeLPLbpwpbncwTygTc/TyGJzIxcNRFOwg6s6+kVjEKgzRXJ\n\tw29rD2sNy0NCGNLKXFbm8I4oIH2wtJPsxymgHxwmkTgY3jg7g9RAdQOR0aaa+cZXAr\n\tV7X86HIjcfuBpaHcUR0jhF6T8dPrSwuX0xPbxSnnsPDuVRnCocHdQa12NWhxK3OkCn\n\tJA2uNK3khm/EabXv9c/y8ivamqGcX36duSitJ3u+Xd4LbOiVBN/szzX7IKFn/hZzJu\n\tDub2N3srSaxbEPv1MDiWvEig=", "Date": "Mon, 2 May 2016 05:34:53 +0200", "From": "\"Vittorio Gambaletta (VittGam)\" <openwrt@vittgam.net>", "To": "<openwrt-devel@lists.openwrt.org>", "Message-ID": "<owrt-patch-20160502-6@vittgam.net>", "In-Reply-To": "<owrt-patch-20160502-4@vittgam.net>", "References": "<owrt-patch-20160502-4@vittgam.net>", "Subject": "[OpenWrt-Devel] [PATCH 3/6] ramips: Fix comment in rt3050 ethernet\n\tswitch driver.", "X-BeenThere": "openwrt-devel@lists.openwrt.org", "X-Mailman-Version": "2.1.20", "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=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "openwrt-devel-bounces@lists.openwrt.org", "Sender": "\"openwrt-devel\" <openwrt-devel-bounces@lists.openwrt.org>" }, "content": "Line 444 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 443.\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n---", "diff": "--- /dev/null\n+++ b/target/linux/ramips/patches-4.4/0517-net-mediatek-fix-comment-in-rt3050-ethernet-switch-d.patch\n@@ -0,0 +1,24 @@ \n+From: Vittorio Gambaletta <openwrt@vittgam.net>\n+Date: Fri, 01 Jan 2016 00:00:01 +0100\n+Subject: [PATCH 2/3] net: mediatek: Fix comment in rt3050 ethernet switch driver.\n+\n+Line 444 is actually enabling all switch ports by setting the disable bits\n+to 0. This needs to be done because the bootloader sets all ports to disabled\n+by default (which is the case for at least one router based on RT5350).\n+\n+So, this patch fixes the comment in line 443.\n+\n+Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n+---\n+\n+--- a/drivers/net/ethernet/mediatek/esw_rt3050.c\n++++ b/drivers/net/ethernet/mediatek/esw_rt3050.c\n+@@ -440,7 +440,7 @@ static void esw_hw_init(struct rt305x_es\n+ \t\t (RT305X_ESW_PORTS_ALL << RT305X_ESW_PFC1_EN_VLAN_S),\n+ \t\tRT305X_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, ((RT305X_ESW_PORTS_ALL << RT305X_ESW_POC0_EN_BP_S) |\n+ \t\t (RT305X_ESW_PORTS_ALL << RT305X_ESW_POC0_EN_FC_S)),\n+ \t\tRT305X_ESW_REG_POC0);\n", "prefixes": [ "OpenWrt-Devel", "3/6" ] }