get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 563219,
    "url": "http://patchwork.ozlabs.org/api/patches/563219/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160105180828.14555.93037.stgit@htfujina-fc.jf.intel.com/",
    "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": "<20160105180828.14555.93037.stgit@htfujina-fc.jf.intel.com>",
    "list_archive_url": null,
    "date": "2016-01-05T18:08:28",
    "name": "igb: enable WoL for OEM devices regardless of EEPROM setting",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "476d1d839431d204b8e8b530d2acc71cb1ab2e48",
    "submitter": {
        "id": 29211,
        "url": "http://patchwork.ozlabs.org/api/people/29211/?format=api",
        "name": "Fujinaka, Todd",
        "email": "todd.fujinaka@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/20160105180828.14555.93037.stgit@htfujina-fc.jf.intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/563219/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/563219/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 hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ozlabs.org (Postfix) with ESMTP id 1ACA01402EC\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Jan 2016 05:12:57 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 46C4E87F28;\n\tTue,  5 Jan 2016 18:12:56 +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 prMOKOQIu6xr; Tue,  5 Jan 2016 18:12:55 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id A764B86E56;\n\tTue,  5 Jan 2016 18:12:55 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 0A3AC1C1104\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  5 Jan 2016 18:12:55 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A0315872EB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  5 Jan 2016 18:12:54 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id tQG8a6FMWnCJ for <intel-wired-lan@lists.osuosl.org>;\n\tTue,  5 Jan 2016 18:12:53 +0000 (UTC)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id CCA4B86B74\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  5 Jan 2016 18:12:53 +0000 (UTC)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga102.fm.intel.com with ESMTP; 05 Jan 2016 10:12:53 -0800",
            "from htfujina-fc.jf.intel.com ([134.134.145.132])\n\tby fmsmga002.fm.intel.com with ESMTP; 05 Jan 2016 10:12:53 -0800"
        ],
        "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.20,525,1444719600\"; d=\"scan'208\";a=\"886864567\"",
        "From": "Todd Fujinaka <todd.fujinaka@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Tue, 05 Jan 2016 10:08:28 -0800",
        "Message-ID": "<20160105180828.14555.93037.stgit@htfujina-fc.jf.intel.com>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH] igb: enable WoL for OEM devices\n\tregardless of EEPROM setting",
        "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": "Override EEPROM settings for specific OEM devices.\n\nSigned-off-by: Todd Fujinaka <todd.fujinaka@intel.com>\n---\n drivers/net/ethernet/intel/igb/igb_main.c |   20 ++++++++++++++++++++\n 1 file changed, 20 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c\nindex 637135e..f413ce1 100644\n--- a/drivers/net/ethernet/intel/igb/igb_main.c\n+++ b/drivers/net/ethernet/intel/igb/igb_main.c\n@@ -2590,6 +2590,26 @@ static int igb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)\n \t\tadapter->wol = 0;\n \t}\n \n+\t/* Some vendors want the ability to Use the EEPROM setting as\n+\t * enable/disable only, and not for capability\n+\t */\n+\tif ((((hw->mac.type == e1000_i350) ||\n+\t      (hw->mac.type == e1000_i354))) &&\n+\t\t\t((pdev->subsystem_vendor == PCI_VENDOR_ID_DELL))) {\n+\t\tadapter->flags |= IGB_FLAG_WOL_SUPPORTED;\n+\t\tadapter->wol = 0;\n+\t}\n+\tif (hw->mac.type == e1000_i350) {\n+\t\tif (((pdev->subsystem_device == 0x5001) ||\n+\t\t     (pdev->subsystem_device == 0x5002)) &&\n+\t\t\t\t(hw->bus.func == 0)) {\n+\t\t\tadapter->flags |= IGB_FLAG_WOL_SUPPORTED;\n+\t\t\tadapter->wol = 0;\n+\t\t}\n+\t\tif (pdev->subsystem_device == 0x1F52)\n+\t\t\tadapter->flags |= IGB_FLAG_WOL_SUPPORTED;\n+\t}\n+\n \tdevice_set_wakeup_enable(&adapter->pdev->dev,\n \t\t\t\t adapter->flags & IGB_FLAG_WOL_SUPPORTED);\n \n",
    "prefixes": []
}