get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 613266,
    "url": "http://patchwork.ozlabs.org/api/patches/613266/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160421183706.21311.93388.stgit@localhost6.localdomain6/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20160421183706.21311.93388.stgit@localhost6.localdomain6>",
    "list_archive_url": null,
    "date": "2016-04-21T18:37:06",
    "name": "[1/2] ixgbe: add WOL support for some 82599 subdevice IDs",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a8385c55c417930836c19ac2a797952a9ccf8cf2",
    "submitter": {
        "id": 1670,
        "url": "http://patchwork.ozlabs.org/api/people/1670/?format=api",
        "name": "Tantilov, Emil S",
        "email": "emil.s.tantilov@intel.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160421183706.21311.93388.stgit@localhost6.localdomain6/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/613266/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/613266/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@lists.osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ozlabs.org (Postfix) with ESMTP id 3qrSBR4svKz9sf9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Apr 2016 04:36:14 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id D58B7C0634;\n\tThu, 21 Apr 2016 18:36:13 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id fA9yPmSY2F1w; Thu, 21 Apr 2016 18:36:13 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 3B112C061E;\n\tThu, 21 Apr 2016 18:36:13 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 5C5EC1C1064\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 21 Apr 2016 18:36:11 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 51B789655B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 21 Apr 2016 18:36:11 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id pqcluKOkTRTl for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 21 Apr 2016 18:36:10 +0000 (UTC)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 32F8D9655A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 21 Apr 2016 18:36:10 +0000 (UTC)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga103.jf.intel.com with ESMTP; 21 Apr 2016 11:36:09 -0700",
            "from estantil-desk3.jf.intel.com (HELO localhost6.localdomain6)\n\t([134.134.3.186])\n\tby orsmga002.jf.intel.com with ESMTP; 21 Apr 2016 11:36:09 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.24,513,1455004800\"; d=\"scan'208\";a=\"960014903\"",
        "From": "Emil Tantilov <emil.s.tantilov@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Thu, 21 Apr 2016 11:37:06 -0700",
        "Message-ID": "<20160421183706.21311.93388.stgit@localhost6.localdomain6>",
        "User-Agent": "StGit/0.17.1-4-g4a0c1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH 1/2] ixgbe: add WOL support for some 82599\n\tsubdevice IDs",
        "X-BeenThere": "intel-wired-lan@lists.osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>",
        "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>",
        "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>"
    },
    "content": "We had some 82599 subdevice IDs missing from the list of parts that\nsupport WOL.\n\nReported-by: Neil Horman <nhorman@redhat.com>\nSigned-off-by: Emil Tantilov <emil.s.tantilov@intel.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |    8 ++++++--\n drivers/net/ethernet/intel/ixgbe/ixgbe_type.h |    6 +++++-\n 2 files changed, 11 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\nindex d52a2a8..5f621ab 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n@@ -9202,8 +9202,10 @@ int ixgbe_wol_supported(struct ixgbe_adapter *adapter, u16 device_id,\n \tcase IXGBE_DEV_ID_82599_SFP:\n \t\t/* Only these subdevices could supports WOL */\n \t\tswitch (subdevice_id) {\n-\t\tcase IXGBE_SUBDEV_ID_82599_SFP_WOL0:\n \t\tcase IXGBE_SUBDEV_ID_82599_560FLR:\n+\t\tcase IXGBE_SUBDEV_ID_82599_LOM_SNAP6:\n+\t\tcase IXGBE_SUBDEV_ID_82599_SFP_WOL0:\n+\t\tcase IXGBE_SUBDEV_ID_82599_SFP_2OCP:\n \t\t\t/* only support first port */\n \t\t\tif (hw->bus.func != 0)\n \t\t\t\tbreak;\n@@ -9211,7 +9213,9 @@ int ixgbe_wol_supported(struct ixgbe_adapter *adapter, u16 device_id,\n \t\tcase IXGBE_SUBDEV_ID_82599_SFP:\n \t\tcase IXGBE_SUBDEV_ID_82599_RNDC:\n \t\tcase IXGBE_SUBDEV_ID_82599_ECNA_DP:\n-\t\tcase IXGBE_SUBDEV_ID_82599_LOM_SFP:\n+\t\tcase IXGBE_SUBDEV_ID_82599_SFP_1OCP:\n+\t\tcase IXGBE_SUBDEV_ID_82599_SFP_LOM_OEM1:\n+\t\tcase IXGBE_SUBDEV_ID_82599_SFP_LOM_OEM2:\n \t\t\tis_wol_supported = 1;\n \t\t\tbreak;\n \t\t}\ndiff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\nindex 7af4514..71082be 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\n@@ -59,8 +59,12 @@\n #define IXGBE_SUBDEV_ID_82599_RNDC       0x1F72\n #define IXGBE_SUBDEV_ID_82599_560FLR     0x17D0\n #define IXGBE_SUBDEV_ID_82599_SP_560FLR  0x211B\n+#define IXGBE_SUBDEV_ID_82599_LOM_SNAP6\t\t0x2159\n+#define IXGBE_SUBDEV_ID_82599_SFP_1OCP\t\t0x000D\n+#define IXGBE_SUBDEV_ID_82599_SFP_2OCP\t\t0x0008\n+#define IXGBE_SUBDEV_ID_82599_SFP_LOM_OEM1\t0x8976\n+#define IXGBE_SUBDEV_ID_82599_SFP_LOM_OEM2\t0x06EE\n #define IXGBE_SUBDEV_ID_82599_ECNA_DP    0x0470\n-#define IXGBE_SUBDEV_ID_82599_LOM_SFP    0x8976\n #define IXGBE_DEV_ID_82599_SFP_EM        0x1507\n #define IXGBE_DEV_ID_82599_SFP_SF2       0x154D\n #define IXGBE_DEV_ID_82599EN_SFP         0x1557\n",
    "prefixes": [
        "1/2"
    ]
}