get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/624181/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 624181,
    "url": "http://patchwork.ozlabs.org/api/patches/624181/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/1463682077-19339-10-git-send-email-sven.eckelmann@open-mesh.com/",
    "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": "<1463682077-19339-10-git-send-email-sven.eckelmann@open-mesh.com>",
    "list_archive_url": null,
    "date": "2016-05-19T18:20:53",
    "name": "[OpenWrt-Devel,CC,10/34] ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boards",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "204d40860c94a1a89839c1a4ced553313bc95bb7",
    "submitter": {
        "id": 68437,
        "url": "http://patchwork.ozlabs.org/api/people/68437/?format=api",
        "name": "Sven Eckelmann",
        "email": "sven.eckelmann@open-mesh.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/1463682077-19339-10-git-send-email-sven.eckelmann@open-mesh.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/624181/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/624181/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 (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 3r9fch08Yvz9sdg\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 20 May 2016 04:25:07 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id A5309B91FFB;\n\tThu, 19 May 2016 20:22:10 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tThu, 19 May 2016 20:22:10 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 6B866B91F95\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 20:21:49 +0200 (CEST)",
            "from mail-wm0-f42.google.com (mail-wm0-f42.google.com\n\t[74.125.82.42]) by arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 20:21:48 +0200 (CEST)",
            "by mail-wm0-f42.google.com with SMTP id a17so138674809wme.0\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 11:21:48 -0700 (PDT)",
            "from sven-desktop.home.narfation.org\n\t(p579E6DC9.dip0.t-ipconnect.de. [87.158.109.201])\n\tby smtp.gmail.com with ESMTPSA id\n\tc7sm10219036wji.38.2016.05.19.11.21.47\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 19 May 2016 11:21:48 -0700 (PDT)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=open-mesh-com.20150623.gappssmtp.com\n\theader.i=@open-mesh-com.20150623.gappssmtp.com\n\theader.b=lSAqe3Df; 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": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tCL_IP_EQ_HELO_IP=-2 (check from: .open-mesh. - helo:\n\t.mail-wm0-f42.google. -\n\thelo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=open-mesh-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=qS2azbNksrEu07T3LzWt7lnP8hkAoTneEIi0Yg6bxS4=;\n\tb=lSAqe3DfbXLI+GCX6qaT6v8h5n3sznSfOe8lK7du0yYsvY+2ghfEhbCsGLuTZWEp+c\n\tDQC3RdiCwXHm0Yhr0sAKCt6PpCCTI737u+mVI+SKKn/4KSwRtryZh2YfmXZh2s3UtF3Q\n\tHY/5h1euMOTqq2R4cNn7jZj1UFcZ4s7tbFaysVRcaDgGeZbAZA1kPXnrH5RGpjb2b+D5\n\tChofF1He7DCePMoxzFpfdOC6Y44EAom3RO8CrlH8wl7/pvgvPtZR03kCiEjzXAgS8XGp\n\tWE92U1rdSuXgsW4R6pKGSOkp0NNN6xHXB3mJsaGvXC5MsGEGmVn7u55owjOwJRwZw8AY\n\tDOuw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=qS2azbNksrEu07T3LzWt7lnP8hkAoTneEIi0Yg6bxS4=;\n\tb=blznxlmvaJkY01vtmhDZmOtiP/VffekfLNpe2e/k0pmbPvy1RUvzsanO72U5EKkUHl\n\t28ZdOPmW2jGh1aYXCdXT6BYdpECehRR5q16BSzdiQFAebL/DyapjGuqXX8rQ1VxhOyGR\n\tHeB4B+pikvxnfgbRPcgs/G0m9SFCBBKXVBZtPmSDFHGpxAEXF4FMZlN6AN68N+lYUH+X\n\t5m2kU52ZXr4qtNPqc8OZiDB034DbelYAPPewKD35ls9QFWXo0KTnnRMF2no4GXFmgKdF\n\tLKGArlkrGB7M5LVVMgvYIKRqODCcNVugUOU6UD4sJvODj5kBEBTWNHai9BuJZunEeINa\n\tG8uw==",
        "X-Gm-Message-State": "AOPr4FWvX2XUPeCjOAVh7t2HYNCSZ72s9fA1kW5t0IvOfbt7e2vt+byVT/ko4eeZvQPW7zQj",
        "X-Received": "by 10.28.224.70 with SMTP id x67mr37477734wmg.78.1463682108551; \n\tThu, 19 May 2016 11:21:48 -0700 (PDT)",
        "From": "Sven Eckelmann <sven.eckelmann@open-mesh.com>",
        "To": "openwrt-devel@lists.openwrt.org",
        "Date": "Thu, 19 May 2016 20:20:53 +0200",
        "Message-Id": "<1463682077-19339-10-git-send-email-sven.eckelmann@open-mesh.com>",
        "X-Mailer": "git-send-email 2.8.1",
        "In-Reply-To": "<1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com>",
        "References": "<1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com>",
        "Subject": "[OpenWrt-Devel] [PATCH CC 10/34] ar71xx: Use *_eth_cfg helper for\n\tOpen Mesh MR900 boards",
        "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>",
        "Cc": "Sven Eckelmann <sven.eckelmann@open-mesh.com>",
        "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": "Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>\n\nBackport of r46241\n---\n .../linux/ar71xx/files/arch/mips/ath79/mach-mr900.c | 21 +--------------------\n 1 file changed, 1 insertion(+), 20 deletions(-)",
    "diff": "diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c\nindex fe3e1fa..9c3164d 100644\n--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c\n+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c\n@@ -94,24 +94,6 @@ static struct gpio_keys_button mr900_gpio_keys[] __initdata = {\n \t},\n };\n \n-\n-static void __init mr900_gmac_setup(void)\n-{\n-\tvoid __iomem *base;\n-\tu32 t;\n-\n-\tbase = ioremap(QCA955X_GMAC_BASE, QCA955X_GMAC_SIZE);\n-\n-\tt = __raw_readl(base + QCA955X_GMAC_REG_ETH_CFG);\n-\n-\tt &= ~(QCA955X_ETH_CFG_RGMII_EN | QCA955X_ETH_CFG_GE0_SGMII);\n-\tt |= QCA955X_ETH_CFG_RGMII_EN;\n-\n-\t__raw_writel(t, base + QCA955X_GMAC_REG_ETH_CFG);\n-\n-\tiounmap(base);\n-}\n-\n static void __init mr900_setup(void)\n {\n \tu8 *art = (u8 *)KSEG1ADDR(0x1fff0000);\n@@ -141,8 +123,7 @@ static void __init mr900_setup(void)\n \t}\n \tpdata->use_eeprom = true;\n \n-\tmr900_gmac_setup();\n-\n+\tath79_setup_qca955x_eth_cfg(QCA955X_ETH_CFG_RGMII_EN);\n \tath79_register_mdio(0, 0x0);\n \n \tath79_init_mac(ath79_eth0_data.mac_addr, art + MR900_MAC0_OFFSET, 0);\n",
    "prefixes": [
        "OpenWrt-Devel",
        "CC",
        "10/34"
    ]
}