get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1211641,
    "url": "http://patchwork.ozlabs.org/api/patches/1211641/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20191217105543.40373-1-anthony.l.nguyen@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": "<20191217105543.40373-1-anthony.l.nguyen@intel.com>",
    "list_archive_url": null,
    "date": "2019-12-17T10:55:43",
    "name": "ice: Add device ids for E822 devices",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "25fe0f0925d1cad556bdf556de3459a0fad1491a",
    "submitter": {
        "id": 68875,
        "url": "http://patchwork.ozlabs.org/api/people/68875/?format=api",
        "name": "Tony Nguyen",
        "email": "anthony.l.nguyen@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/20191217105543.40373-1-anthony.l.nguyen@intel.com/mbox/",
    "series": [
        {
            "id": 149104,
            "url": "http://patchwork.ozlabs.org/api/series/149104/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=149104",
            "date": "2019-12-17T10:55:43",
            "name": "ice: Add device ids for E822 devices",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/149104/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1211641/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1211641/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@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"
        ],
        "Authentication-Results": [
            "ozlabs.org; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=osuosl.org (client-ip=140.211.166.137;\n\thelo=fraxinus.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=intel.com"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 47cp762ZNDz9sR7\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 18 Dec 2019 06:27:12 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 7613586640;\n\tTue, 17 Dec 2019 19:27:10 +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 nM-13X8kj7Pk; Tue, 17 Dec 2019 19:27:09 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id BAF2986529;\n\tTue, 17 Dec 2019 19:27:09 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 643231BF2B1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 17 Dec 2019 19:27:08 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 5FEDF8507B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 17 Dec 2019 19:27:08 +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 7diGKgyeGSW2 for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 17 Dec 2019 19:27:07 +0000 (UTC)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id BE2B887645\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 17 Dec 2019 19:27:07 +0000 (UTC)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Dec 2019 11:27:07 -0800",
            "from unknown (HELO localhost.jf.intel.com) ([10.166.244.174])\n\tby orsmga008.jf.intel.com with ESMTP; 17 Dec 2019 11:27:06 -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-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.69,326,1571727600\"; d=\"scan'208\";a=\"209808325\"",
        "From": "Tony Nguyen <anthony.l.nguyen@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Tue, 17 Dec 2019 02:55:43 -0800",
        "Message-Id": "<20191217105543.40373-1-anthony.l.nguyen@intel.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH] ice: Add device ids for E822 devices",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "From: Jacob Keller <jacob.e.keller@intel.com>\n\nAdd support for E822 devices\n\nSigned-off-by: Jacob Keller <jacob.e.keller@intel.com>\nSigned-off-by: Bruce Allan <bruce.w.allan@intel.com>\nSigned-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>\n---\n drivers/net/ethernet/intel/ice/ice_devids.h | 18 ++++++++++++++++++\n drivers/net/ethernet/intel/ice/ice_main.c   |  9 +++++++++\n drivers/net/ethernet/intel/ice/ice_nvm.c    | 12 ++++++++++++\n 3 files changed, 39 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ice/ice_devids.h b/drivers/net/ethernet/intel/ice/ice_devids.h\nindex f8d5c661d0ba..ce63017c56c7 100644\n--- a/drivers/net/ethernet/intel/ice/ice_devids.h\n+++ b/drivers/net/ethernet/intel/ice/ice_devids.h\n@@ -11,5 +11,23 @@\n #define ICE_DEV_ID_E810C_QSFP\t\t0x1592\n /* Intel(R) Ethernet Controller E810-C for SFP */\n #define ICE_DEV_ID_E810C_SFP\t\t0x1593\n+/* Intel(R) Ethernet Connection E822-C for backplane */\n+#define ICE_DEV_ID_E822C_BACKPLANE\t0x1890\n+/* Intel(R) Ethernet Connection E822-C for QSFP */\n+#define ICE_DEV_ID_E822C_QSFP\t\t0x1891\n+/* Intel(R) Ethernet Connection E822-C for SFP */\n+#define ICE_DEV_ID_E822C_SFP\t\t0x1892\n+/* Intel(R) Ethernet Connection E822-C/X557-AT 10GBASE-T */\n+#define ICE_DEV_ID_E822C_10G_BASE_T\t0x1893\n+/* Intel(R) Ethernet Connection E822-C 1GbE */\n+#define ICE_DEV_ID_E822C_SGMII\t\t0x1894\n+/* Intel(R) Ethernet Connection E822-X for backplane */\n+#define ICE_DEV_ID_E822X_BACKPLANE\t0x1897\n+/* Intel(R) Ethernet Connection E822-L for SFP */\n+#define ICE_DEV_ID_E822L_SFP\t\t0x1898\n+/* Intel(R) Ethernet Connection E822-L/X557-AT 10GBASE-T */\n+#define ICE_DEV_ID_E822L_10G_BASE_T\t0x1899\n+/* Intel(R) Ethernet Connection E822-L 1GbE */\n+#define ICE_DEV_ID_E822L_SGMII\t\t0x189A\n \n #endif /* _ICE_DEVIDS_H_ */\ndiff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c\nindex 59c2df765d6d..019ecb229440 100644\n--- a/drivers/net/ethernet/intel/ice/ice_main.c\n+++ b/drivers/net/ethernet/intel/ice/ice_main.c\n@@ -3637,6 +3637,15 @@ static const struct pci_device_id ice_pci_tbl[] = {\n \t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_BACKPLANE), 0 },\n \t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_QSFP), 0 },\n \t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E810C_SFP), 0 },\n+\t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E822C_BACKPLANE), 0 },\n+\t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E822C_QSFP), 0 },\n+\t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E822C_SFP), 0 },\n+\t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E822C_10G_BASE_T), 0 },\n+\t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E822C_SGMII), 0 },\n+\t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E822X_BACKPLANE), 0 },\n+\t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E822L_SFP), 0 },\n+\t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E822L_10G_BASE_T), 0 },\n+\t{ PCI_VDEVICE(INTEL, ICE_DEV_ID_E822L_SGMII), 0 },\n \t/* required last entry */\n \t{ 0, }\n };\ndiff --git a/drivers/net/ethernet/intel/ice/ice_nvm.c b/drivers/net/ethernet/intel/ice/ice_nvm.c\nindex 57c73f613f32..7525ac50742e 100644\n--- a/drivers/net/ethernet/intel/ice/ice_nvm.c\n+++ b/drivers/net/ethernet/intel/ice/ice_nvm.c\n@@ -289,6 +289,18 @@ enum ice_status ice_init_nvm(struct ice_hw *hw)\n \n \tnvm->eetrack = (eetrack_hi << 16) | eetrack_lo;\n \n+\t/* the following devices do not have boot_cfg_tlv yet */\n+\tif (hw->device_id == ICE_DEV_ID_E822C_BACKPLANE ||\n+\t    hw->device_id == ICE_DEV_ID_E822C_QSFP ||\n+\t    hw->device_id == ICE_DEV_ID_E822C_10G_BASE_T ||\n+\t    hw->device_id == ICE_DEV_ID_E822C_SGMII ||\n+\t    hw->device_id == ICE_DEV_ID_E822C_SFP ||\n+\t    hw->device_id == ICE_DEV_ID_E822X_BACKPLANE ||\n+\t    hw->device_id == ICE_DEV_ID_E822L_SFP ||\n+\t    hw->device_id == ICE_DEV_ID_E822L_10G_BASE_T ||\n+\t    hw->device_id == ICE_DEV_ID_E822L_SGMII)\n+\t\treturn status;\n+\n \tstatus = ice_get_pfa_module_tlv(hw, &boot_cfg_tlv, &boot_cfg_tlv_len,\n \t\t\t\t\tICE_SR_BOOT_CFG_PTR);\n \tif (status) {\n",
    "prefixes": []
}