get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 747627,
    "url": "http://patchwork.ozlabs.org/api/patches/747627/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170406072632.10703-1-sasha.neftin@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": "<20170406072632.10703-1-sasha.neftin@intel.com>",
    "list_archive_url": null,
    "date": "2017-04-06T07:26:32",
    "name": "[1/3] e1000e: Initial Support for CannonLake",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "afb05b84484ee69b4a429feef92bedf67e4d8f7b",
    "submitter": {
        "id": 69860,
        "url": "http://patchwork.ozlabs.org/api/people/69860/?format=api",
        "name": "Sasha Neftin",
        "email": "sasha.neftin@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/20170406072632.10703-1-sasha.neftin@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/747627/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/747627/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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3vzDmK6zkkz9s8S\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  6 Apr 2017 17:26:41 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 40ED53026E;\n\tThu,  6 Apr 2017 07:26:40 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id QcLivjvSW1o0; Thu,  6 Apr 2017 07:26:38 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id E1FE43021A;\n\tThu,  6 Apr 2017 07:26:38 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 2DA1C1C03CF\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  6 Apr 2017 07:26:37 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 20DCF3021A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  6 Apr 2017 07:26:37 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id dWSQ2VrYfttS for <intel-wired-lan@lists.osuosl.org>;\n\tThu,  6 Apr 2017 07:26:36 +0000 (UTC)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 0CDFD2F76A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  6 Apr 2017 07:26:35 +0000 (UTC)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga105.fm.intel.com with ESMTP; 06 Apr 2017 00:26:35 -0700",
            "from ccdlinuxdev01.ger.corp.intel.com (HELO\n\tccdlinuxdev01.iil.intel.com) ([143.185.162.145])\n\tby orsmga003.jf.intel.com with ESMTP; 06 Apr 2017 00:26:33 -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.37,283,1488873600\"; d=\"scan'208\";a=\"952494376\"",
        "From": "Sasha Neftin <sasha.neftin@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org,\n\tjeffrey.t.kirsher@intel.com",
        "Date": "Thu,  6 Apr 2017 10:26:32 +0300",
        "Message-Id": "<20170406072632.10703-1-sasha.neftin@intel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[Intel-wired-lan] [PATCH 1/3] e1000e: Initial Support for CannonLake",
        "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>",
        "MIME-Version": "1.0",
        "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": "Description: i219 (6) and i219 (7) are the next LOM\ngenerations that will be available on the next\nIntel Client platform (CannonLake)\nThis patch provides the initial support for these devices\n\nReviewed-by: Raanan Avargil <raanan.avargil@intel.com>\nReviewed-by: Dima Ruinskiy <dima.ruinskiy@intel.com>\nSigned-off-by: Sasha Neftin <sasha.neftin@intel.com>\n---\n drivers/net/ethernet/intel/e1000e/e1000.h   |  4 +++-\n drivers/net/ethernet/intel/e1000e/hw.h      |  5 +++++\n drivers/net/ethernet/intel/e1000e/ich8lan.c | 20 ++++++++++++++++++++\n drivers/net/ethernet/intel/e1000e/netdev.c  |  5 +++++\n 4 files changed, 33 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/e1000e/e1000.h b/drivers/net/ethernet/intel/e1000e/e1000.h\nindex a29b12e80855..f16d9826c66d 100644\n--- a/drivers/net/ethernet/intel/e1000e/e1000.h\n+++ b/drivers/net/ethernet/intel/e1000e/e1000.h\n@@ -135,7 +135,8 @@ enum e1000_boards {\n \tboard_pchlan,\n \tboard_pch2lan,\n \tboard_pch_lpt,\n-\tboard_pch_spt\n+\tboard_pch_spt,\n+\tboard_pch_cnp\n };\n \n struct e1000_ps_page {\n@@ -515,6 +516,7 @@ extern const struct e1000_info e1000_pch_info;\n extern const struct e1000_info e1000_pch2_info;\n extern const struct e1000_info e1000_pch_lpt_info;\n extern const struct e1000_info e1000_pch_spt_info;\n+extern const struct e1000_info e1000_pch_cnp_info;\n extern const struct e1000_info e1000_es2_info;\n \n void e1000e_ptp_init(struct e1000_adapter *adapter);\ndiff --git a/drivers/net/ethernet/intel/e1000e/hw.h b/drivers/net/ethernet/intel/e1000e/hw.h\nindex 4e733bf1a38e..66bd5060a65b 100644\n--- a/drivers/net/ethernet/intel/e1000e/hw.h\n+++ b/drivers/net/ethernet/intel/e1000e/hw.h\n@@ -96,6 +96,10 @@ struct e1000_hw;\n #define E1000_DEV_ID_PCH_SPT_I219_V4\t\t0x15D8\n #define E1000_DEV_ID_PCH_SPT_I219_LM5\t\t0x15E3\n #define E1000_DEV_ID_PCH_SPT_I219_V5\t\t0x15D6\n+#define E1000_DEV_ID_PCH_CNP_I219_LM6\t\t0x15BD\n+#define E1000_DEV_ID_PCH_CNP_I219_V6\t\t0x15BE\n+#define E1000_DEV_ID_PCH_CNP_I219_LM7\t\t0x15BB\n+#define E1000_DEV_ID_PCH_CNP_I219_V7\t\t0x15BC\n \n #define E1000_REVISION_4\t4\n \n@@ -118,6 +122,7 @@ enum e1000_mac_type {\n \te1000_pch2lan,\n \te1000_pch_lpt,\n \te1000_pch_spt,\n+\te1000_pch_cnp,\n };\n \n enum e1000_media_type {\ndiff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c\nindex f3aaca743ea3..bf55e30f147d 100644\n--- a/drivers/net/ethernet/intel/e1000e/ich8lan.c\n+++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c\n@@ -5914,3 +5914,23 @@ const struct e1000_info e1000_pch_spt_info = {\n \t.phy_ops\t\t= &ich8_phy_ops,\n \t.nvm_ops\t\t= &spt_nvm_ops,\n };\n+\n+const struct e1000_info e1000_pch_cnp_info = {\n+\t.mac\t\t\t= e1000_pch_cnp,\n+\t.flags\t\t\t= FLAG_IS_ICH\n+\t\t\t\t  | FLAG_HAS_WOL\n+\t\t\t\t  | FLAG_HAS_HW_TIMESTAMP\n+\t\t\t\t  | FLAG_HAS_CTRLEXT_ON_LOAD\n+\t\t\t\t  | FLAG_HAS_AMT\n+\t\t\t\t  | FLAG_HAS_FLASH\n+\t\t\t\t  | FLAG_HAS_JUMBO_FRAMES\n+\t\t\t\t  | FLAG_APME_IN_WUC,\n+\t.flags2\t\t\t= FLAG2_HAS_PHY_STATS\n+\t\t\t\t  | FLAG2_HAS_EEE,\n+\t.pba\t\t\t= 26,\n+\t.max_hw_frame_size\t= 9022,\n+\t.get_variants\t\t= e1000_get_variants_ich8lan,\n+\t.mac_ops\t\t= &ich8_mac_ops,\n+\t.phy_ops\t\t= &ich8_phy_ops,\n+\t.nvm_ops\t\t= &spt_nvm_ops,\n+};\ndiff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c\nindex 2175cced402f..4bda1cb97b27 100644\n--- a/drivers/net/ethernet/intel/e1000e/netdev.c\n+++ b/drivers/net/ethernet/intel/e1000e/netdev.c\n@@ -71,6 +71,7 @@ static const struct e1000_info *e1000_info_tbl[] = {\n \t[board_pch2lan]\t\t= &e1000_pch2_info,\n \t[board_pch_lpt]\t\t= &e1000_pch_lpt_info,\n \t[board_pch_spt]\t\t= &e1000_pch_spt_info,\n+\t[board_pch_cnp]\t\t= &e1000_pch_cnp_info,\n };\n \n struct e1000_reg_info {\n@@ -7508,6 +7509,10 @@ static const struct pci_device_id e1000_pci_tbl[] = {\n \t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_SPT_I219_V4), board_pch_spt },\n \t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_SPT_I219_LM5), board_pch_spt },\n \t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_SPT_I219_V5), board_pch_spt },\n+\t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CNP_I219_LM6), board_pch_cnp },\n+\t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CNP_I219_V6), board_pch_cnp },\n+\t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CNP_I219_LM7), board_pch_cnp },\n+\t{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CNP_I219_V7), board_pch_cnp },\n \n \t{ 0, 0, 0, 0, 0, 0, 0 }\t/* terminate list */\n };\n",
    "prefixes": [
        "1/3"
    ]
}