get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 990715,
    "url": "http://patchwork.ozlabs.org/api/patches/990715/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20181030095433.28947-1-valentin-catalin.neacsu@nxp.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20181030095433.28947-1-valentin-catalin.neacsu@nxp.com>",
    "list_archive_url": null,
    "date": "2018-10-30T09:54:46",
    "name": "[U-Boot,1/2] AQUANTIA USXGMII autoneg enable",
    "commit_ref": "c54bfbf",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "47799a18abb9322de2c5e3925d96232adf916da1",
    "submitter": {
        "id": 75218,
        "url": "http://patchwork.ozlabs.org/api/people/75218/?format=api",
        "name": "Valentin-catalin Neacsu",
        "email": "valentin-catalin.neacsu@nxp.com"
    },
    "delegate": {
        "id": 6337,
        "url": "http://patchwork.ozlabs.org/api/users/6337/?format=api",
        "username": "jhersh",
        "first_name": "Joe",
        "last_name": "Hershberger",
        "email": "joe.hershberger@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20181030095433.28947-1-valentin-catalin.neacsu@nxp.com/mbox/",
    "series": [
        {
            "id": 73185,
            "url": "http://patchwork.ozlabs.org/api/series/73185/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=73185",
            "date": "2018-10-30T09:54:46",
            "name": "[U-Boot,1/2] AQUANTIA USXGMII autoneg enable",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/73185/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/990715/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/990715/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=nxp.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"ge2GLweq\";\n\tdkim-atps=neutral",
            "spf=none (sender IP is )\n\tsmtp.mailfrom=valentin-catalin.neacsu@nxp.com; "
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 42kp4D6GKKz9s7T\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 30 Oct 2018 21:44:08 +1100 (AEDT)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid DD2D6C2209D; Tue, 30 Oct 2018 10:44:02 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D4889C2209D;\n\tTue, 30 Oct 2018 10:43:58 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D20ECC2209D; Tue, 30 Oct 2018 09:54:48 +0000 (UTC)",
            "from EUR02-AM5-obe.outbound.protection.outlook.com\n\t(mail-eopbgr00045.outbound.protection.outlook.com [40.107.0.45])\n\tby lists.denx.de (Postfix) with ESMTPS id 50C55C22095\n\tfor <u-boot@lists.denx.de>; Tue, 30 Oct 2018 09:54:48 +0000 (UTC)",
            "from AM0PR04MB5220.eurprd04.prod.outlook.com (20.177.42.25) by\n\tAM0PR04MB4196.eurprd04.prod.outlook.com (52.134.126.18) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1273.19; Tue, 30 Oct 2018 09:54:46 +0000",
            "from AM0PR04MB5220.eurprd04.prod.outlook.com\n\t([fe80::28e5:f88e:4e7d:9ba]) by\n\tAM0PR04MB5220.eurprd04.prod.outlook.com\n\t([fe80::28e5:f88e:4e7d:9ba%5]) with mapi id 15.20.1273.027;\n\tTue, 30 Oct 2018 09:54:46 +0000"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.6 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_WEB,SPF_HELO_PASS,T_DKIM_INVALID autolearn=no\n\tautolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=FUbn2cwCHQk4k6BNW1oDZf43BsJtcoODK0mx7WtVVx4=;\n\tb=ge2GLweqUSwoq9qebDkQ/lWpjf91lxJmXFwsqD6bv0xiZ598L4VCbFWO2iXCfGKU88JtJnatRDOWtcfSdWyJ6Qi58KwJcaHk6sPvNdRWfhJZp99nbmy0Niv6WZ+HGgDSRyFAFMH7ReTrBwOfwSnCQZpJMHB+a2VX4nqcz81eTa8=",
        "From": "Valentin-catalin Neacsu <valentin-catalin.neacsu@nxp.com>",
        "To": "\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>,\n\tYork Sun <york.sun@nxp.com>",
        "Thread-Topic": "[PATCH 1/2] AQUANTIA USXGMII autoneg enable",
        "Thread-Index": "AQHUcDaWGE1gKeblsE2xoRFr3JhsRQ==",
        "Date": "Tue, 30 Oct 2018 09:54:46 +0000",
        "Message-ID": "<20181030095433.28947-1-valentin-catalin.neacsu@nxp.com>",
        "Accept-Language": "en-US",
        "Content-Language": "en-US",
        "X-MS-Has-Attach": "",
        "X-MS-TNEF-Correlator": "",
        "x-clientproxiedby": "VI1P195CA0053.EURP195.PROD.OUTLOOK.COM\n\t(2603:10a6:802:5a::42) To AM0PR04MB5220.eurprd04.prod.outlook.com\n\t(2603:10a6:208:cf::25)",
        "authentication-results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=nxp.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"ge2GLweq\";\n\tdkim-atps=neutral",
            "spf=none (sender IP is )\n\tsmtp.mailfrom=valentin-catalin.neacsu@nxp.com; "
        ],
        "x-ms-exchange-messagesentrepresentingtype": "1",
        "x-originating-ip": "[86.34.165.90]",
        "x-ms-publictraffictype": "Email",
        "x-microsoft-exchange-diagnostics": "1; AM0PR04MB4196;\n\t6:9Im38hkNzwLAqSgJ8j/T8GHMbEeFuKgZFnb400lgD+K/cNWrtj+B3G3kP2K1mNul3sorJHIe2hnM8dKpGNzgOcHdE+h5FOvW8q+mTsief0srDKRx5we9G5cMa6o33sXt57afi144ojQ7xK35DJR4hZlDIjwUlo5VeyTREFuhmLihR+8TfetYEIDzd8suGzukWk3sW9uqcw1j7bwO+Ky6v1vpKWda7XcV6xkkOS5iFFhUr7Pa4jd98nP0ijvXcweOBFG9gpF8bNAqiPY9RzeWtlpfIkMa0Q7rXjHSXFKOUWToeKa09W9o+nZljfpCzpt+vmJwDe90QPmlstB26GS91oWuig65/uaAHuorMNX6MbTWvzZcHy4kKZ9xNnctrJ+14WFPZClYQey+xaJPsO8OcZzeLqwG//EiOGbR0t6dfvfwa/fqyh5KgPb9DgNLWIUfCrelDgWqfJUicWVfQ7QFNw==;\n\t5:NWYJTnYE51VAXt1Qd7DzICgR9vRh5dB/yGIB+QxEAzukx0/H1r9106W5yq5Xj5KDdYKnbwvfWDNmwSihsJ6vY7cpxYRrz7oaMeIUbtdNBftw54g0cnLjXuUPk2C7vN8tPKOsL6vgIZqLgrdiZ9oU7Hsl+rKp+XJwMh5DtvFzljE=;\n\t7:LylhsdcA5KkCH8GUe5Fas4aYpZQ/wm/gzvt69gITRAdjwvYoJ8Qc1OLH2y4u5T7O9IpVOSpMhWJc0zRqMnK6U6NG2Jmd/UYTQdAuN+Lo8qJ4pping1KaGH3F3EnKKv1HApFNjYtf49HyIE8b8o4nXg==",
        "x-ms-office365-filtering-correlation-id": "96f553c6-7f93-4bc0-5988-08d63e4db939",
        "x-ms-office365-filtering-ht": "Tenant",
        "x-microsoft-antispam": "BCL:0; PCL:0;\n\tRULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);\n\tSRVR:AM0PR04MB4196; ",
        "x-ms-traffictypediagnostic": "AM0PR04MB4196:",
        "x-microsoft-antispam-prvs": "<AM0PR04MB419677D0240FDD9851A246D9A0CC0@AM0PR04MB4196.eurprd04.prod.outlook.com>",
        "x-exchange-antispam-report-test": "UriScan:(185117386973197);",
        "x-ms-exchange-senderadcheck": "1",
        "x-exchange-antispam-report-cfa-test": "BCL:0; PCL:0;\n\tRULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);\n\tSRVR:AM0PR04MB4196; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4196; ",
        "x-forefront-prvs": "08417837C5",
        "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(376002)(346002)(39860400002)(366004)(136003)(396003)(189003)(199004)(97736004)(6512007)(68736007)(71190400001)(71200400001)(2501003)(316002)(5660300001)(8936002)(5250100002)(6636002)(36756003)(305945005)(2906002)(81166006)(66066001)(6436002)(81156014)(6116002)(3846002)(25786009)(6486002)(53936002)(8676002)(1076002)(575784001)(86362001)(7736002)(186003)(102836004)(478600001)(4326008)(217873002)(6506007)(386003)(486006)(106356001)(256004)(2900100001)(52116002)(2616005)(99286004)(105586002)(14454004)(26005)(476003)(110136005);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4196;\n\tH:AM0PR04MB5220.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; MX:3; A:1; ",
        "received-spf": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)",
        "x-microsoft-antispam-message-info": "jdqzIJwsdV/26IfxNNGByUqZYSF65mwYkc346XxYdfdFLELOSQXu9NvbWz/IOlNGLaSFPnZ+Tz9pA0Co8PiZX5OSyUUwHV4BM4/r41tdupK/Riid1oeXmhdyPjgNwdV/hu/lhWdxT9t/G4xoDQsE1eFoUllu3A48G0nRfFr6wD/YZvuTS4iGCOyT948JpGmodyySEdGJ3Fo8L5nLQoMYg4PeXw6G3WNwDVPIcvmFGOUkS8swgWTc/qKDAt0VBBFCvmNBziNv9BoAyt5tUbowPXRvp5U7UNmfZQaHSh5imYwgawIboCvA/ysLij9Lb9EmyA0eM8xFhUIdvci785MI666Yw3QrORA2C//RxoqGcYk=",
        "spamdiagnosticoutput": "1:99",
        "spamdiagnosticmetadata": "NSPM",
        "MIME-Version": "1.0",
        "X-OriginatorOrg": "nxp.com",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "96f553c6-7f93-4bc0-5988-08d63e4db939",
        "X-MS-Exchange-CrossTenant-originalarrivaltime": "30 Oct 2018 09:54:46.3323\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted",
        "X-MS-Exchange-CrossTenant-id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "AM0PR04MB4196",
        "X-Mailman-Approved-At": "Tue, 30 Oct 2018 10:43:57 +0000",
        "Subject": "[U-Boot] [PATCH 1/2] AQUANTIA USXGMII autoneg enable",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "If System interface protocol is USXGMII then enable USXGMII autoneg\nSigned-off-by: Valentin Catalin Neacsu <valentin-catalin.neacsu@nxp.com>\n---\n drivers/net/phy/aquantia.c | 18 ++++++++++++++++++\n 1 file changed, 18 insertions(+)",
    "diff": "diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c\nindex 6678147545..603abb5a7f 100644\n--- a/drivers/net/phy/aquantia.c\n+++ b/drivers/net/phy/aquantia.c\n@@ -4,6 +4,7 @@\n  * SPDX-License-Identifier:\tGPL-2.0+\n  *\n  * Copyright 2014 Freescale Semiconductor, Inc.\n+ * Copyright 2018 NXP\n  */\n #include <config.h>\n #include <common.h>\n@@ -20,6 +21,13 @@\n #define AQUNTIA_SPEED_LSB_MASK\t0x2000\n #define AQUNTIA_SPEED_MSB_MASK\t0x40\n \n+#define AQUANTIA_SYSTEM_INTERFACE_SR     0xe812\n+#define AQUANTIA_VENDOR_PROVISIONING_REG 0xC441\n+\n+#define AQUANTIA_USX_AUTONEG_CONTROL_ENA 0x0008\n+#define AQUANTIA_SI_IN_USE_MASK          0x0078\n+#define AQUANTIA_SI_USXGMII              0x0018\n+\n int aquantia_config(struct phy_device *phydev)\n {\n \tu32 val = phy_read(phydev, MDIO_MMD_PMAPMD, MII_BMCR);\n@@ -41,6 +49,16 @@ int aquantia_config(struct phy_device *phydev)\n \t\t\tphy_write(phydev, MDIO_MMD_PMAPMD, MII_BMCR,\n \t\t\t\t  AQUNTIA_SPEED_LSB_MASK |\n \t\t\t\t  AQUNTIA_SPEED_MSB_MASK);\n+\n+\t\tval = phy_read(phydev, MDIO_MMD_PHYXS,\n+\t\t\t       AQUANTIA_SYSTEM_INTERFACE_SR);\n+\t\t/* If SI is USXGMII then start USXGMII autoneg*/\n+\t\tif ((val & AQUANTIA_SI_IN_USE_MASK) == AQUANTIA_SI_USXGMII) {\n+\t\t\tphy_write(phydev, MDIO_MMD_PHYXS,\n+\t\t\t\t  AQUANTIA_VENDOR_PROVISIONING_REG,\n+\t\t\t\t  AQUANTIA_USX_AUTONEG_CONTROL_ENA);\n+\t\t}\n+\n \t} else if (phydev->interface == PHY_INTERFACE_MODE_SGMII_2500) {\n \t\t/* 2.5GBASE-T mode */\n \t\tphydev->advertising = SUPPORTED_1000baseT_Full;\n",
    "prefixes": [
        "U-Boot",
        "1/2"
    ]
}