Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/561991/?format=api
{ "id": 561991, "url": "http://patchwork.ozlabs.org/api/patches/561991/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160101-v4-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-2@vittgam.net>", "list_archive_url": null, "date": "2015-12-31T23:00:01", "name": "[OpenWrt-Devel,v4,2/4] ramips: Fix comment in rt3050 ethernet switch driver.", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "7c86b2018777e2f2becddfc2a893c3f8b28d105a", "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-2@vittgam.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/561991/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/561991/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 27A9F140BF1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 1 Jan 2016 10:02:34 +1100 (AEDT)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id BB3EE28BF3C;\n\tFri, 1 Jan 2016 00:00:06 +0100 (CET)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 4CFA128BDB0\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 31 Dec 2015 23:59:38 +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:38 +0100 (CET)", "from vl2 (vittgamlaptop2.r1.network.mietitrebbia.rocks\n\t[10.48.3.146]) by mail.vittgam.net with SMTP id tBVN00ok082907;\n\tFri, 1 Jan 2016 00:00:01 +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=mb/S7h9r; 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 tBVN00ok082907", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1451602802;\n\tbh=c/LTz8DdD3v/QvfBjyWqd7AIW/mYvqGSXruozu8Rl/U=;\n\th=From:To:Date:Subject:Content-Type:Message-ID:In-Reply-To:\n\tReferences;\n\tb=mb/S7h9rUcw1a9doMoyb4ASI7NcgGsJvoCaa6GrUhOE9Y39LVhwUOralv/afY6D6q\n\tp2ho/9w8AodNakL9fLxOELE9G7rtcev2VqT5N27G8hEwkSfJXkUoYijGiXR5dwQN2+\n\tpWzfDPefeqJynRo9XGe5ba8dd0Yh4ydSBOlPiJAo0MCbzfKHT9JL+Ntw6mnZwgs6YE\n\tZqmzoOKJKc3D5rXYWWVyeelfgY3rLYsfDvtWDhs4jAnzUp1s3jLRY2HLzeIDK2bP2o\n\t81tflWUtTuB+gck9FpYFeLkLnvCCYObQytOkY/BIR5Ueu42Odya9vZu4NktcFgrXbj\n\t73Q+uAWc+NmtOWye/h8OtJ5E0WqZIxkpvlZJWID7lJf4l0UcF5XhghYLrFu5we4wnU\n\t0v7LCTeScdRLdgmofEpW3GiBC/brWev1q8y+p55DNRi0PwX0BNZEbYbzCRF3zJZzjk\n\tYNzTSe4XCKyvtfendR3lyNjhbGTUKVLiF0FzMNISsZv0mjnMPCf4zcTB2kZlx8NmtY\n\tFgbTcg03BKEjlH3q1g0RLzL31qeqLGlYX2M9E0JA6j1d1YndiI2LBOx1Wu1r2MDvhb\n\tBilYoEvqlqQjeUNvXokzX/fB01UEYe9TK7IED7Ppk2Uyh+YetAUBD1KfmL+Nreg0Z0\n\t74Goh1vBWai+iBF8BjDWt9ks=", "From": "\"Vittorio G (VittGam)\" <openwrt@vittgam.net>", "To": "<openwrt-devel@lists.openwrt.org>", "Date": "Fri, 01 Jan 2016 00:00:01 +0100", "Message-ID": "<owrt-patch-20160101-v4-2@vittgam.net>", "In-Reply-To": "<owrt-patch-20160101-v4-1@vittgam.net>", "References": "<owrt-patch-20160101-v4-1@vittgam.net>", "Subject": "[OpenWrt-Devel] [PATCH v4 2/4] ramips: Fix comment in rt3050\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 443 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 442.\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n---", "diff": "--- /dev/null\n+++ b/target/linux/ramips/patches-4.3/0515-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 443 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 442.\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+@@ -439,7 +439,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", "v4", "2/4" ] }