Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/709879/?format=api
{ "id": 709879, "url": "http://patchwork.ozlabs.org/api/patches/709879/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1483150034-35128-1-git-send-email-donald.c.skidmore@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": "<1483150034-35128-1-git-send-email-donald.c.skidmore@intel.com>", "list_archive_url": null, "date": "2016-12-31T02:07:14", "name": "[1/3] ixgbe: Complete support for X553 sgmii", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "ae93ed1208934973ab3658bcf37b4c3090d819ce", "submitter": { "id": 4487, "url": "http://patchwork.ozlabs.org/api/people/4487/?format=api", "name": "Skidmore, Donald C", "email": "donald.c.skidmore@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/1483150034-35128-1-git-send-email-donald.c.skidmore@intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/709879/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/709879/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\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 3tr4xh1KKyz9t0m\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 31 Dec 2016 12:09:43 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 63AE5867CD;\n\tSat, 31 Dec 2016 01:09:41 +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 98p2pHIEIWKT; Sat, 31 Dec 2016 01:09:39 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id DF14686794;\n\tSat, 31 Dec 2016 01:09:39 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 4155E1C03B7\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 31 Dec 2016 01:09:39 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 3A63E87BAA\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 31 Dec 2016 01:09:39 +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 e5LakBQww2IQ for <intel-wired-lan@lists.osuosl.org>;\n\tSat, 31 Dec 2016 01:09:37 +0000 (UTC)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 0B1CF87B8C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 31 Dec 2016 01:09:36 +0000 (UTC)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby orsmga104.jf.intel.com with ESMTP; 30 Dec 2016 17:09:36 -0800", "from dcskidmo-m40.jf.intel.com ([134.134.3.124])\n\tby fmsmga006.fm.intel.com with ESMTP; 30 Dec 2016 17:09:36 -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.33,432,1477983600\"; d=\"scan'208\";a=\"48751149\"", "From": "Donald C Skidmore <donald.c.skidmore@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Fri, 30 Dec 2016 21:07:14 -0500", "Message-Id": "<1483150034-35128-1-git-send-email-donald.c.skidmore@intel.com>", "X-Mailer": "git-send-email 2.4.3", "Subject": "[Intel-wired-lan] [PATCH 1/3] ixgbe: Complete support for X553 sgmii", "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": "The initial patches supporting X553 sgmii forgot some details. This patch\nshould cover those missing spots.\n\nSigned-off-by: Don Skidmore <donald.c.skidmore@intel.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 29 +++++++++++++++++++++++++--\n 1 file changed, 27 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c\nindex f784298..801427a 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c\n@@ -334,6 +334,16 @@ static s32 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw)\n \tcase IXGBE_DEV_ID_X550EM_X_1G_T:\n \tcase IXGBE_DEV_ID_X550EM_X_10G_T:\n \t\treturn ixgbe_identify_phy_generic(hw);\n+\tcase IXGBE_DEV_ID_X550EM_A_1G_T:\n+\tcase IXGBE_DEV_ID_X550EM_A_1G_T_L:\n+\t\thw->phy.type = ixgbe_phy_fw;\n+\t\thw->phy.ops.read_reg = NULL;\n+\t\thw->phy.ops.write_reg = NULL;\n+\t\tif (hw->bus.lan_id)\n+\t\t\thw->phy.phy_semaphore_mask |= IXGBE_GSSR_PHY1_SM;\n+\t\telse\n+\t\t\thw->phy.phy_semaphore_mask |= IXGBE_GSSR_PHY0_SM;\n+\t\tbreak;\n \tdefault:\n \t\tbreak;\n \t}\n@@ -2215,8 +2225,20 @@ static s32 ixgbe_get_link_capabilities_X550em(struct ixgbe_hw *hw,\n \t\telse\n \t\t\t*speed = IXGBE_LINK_SPEED_10GB_FULL;\n \t} else {\n-\t\t*speed = IXGBE_LINK_SPEED_10GB_FULL |\n-\t\t\t IXGBE_LINK_SPEED_1GB_FULL;\n+\t\tswitch (hw->phy.type) {\n+\t\tcase ixgbe_phy_x550em_kx4:\n+\t\t\t*speed = IXGBE_LINK_SPEED_1GB_FULL |\n+\t\t\t\t IXGBE_LINK_SPEED_2_5GB_FULL |\n+\t\t\t\t IXGBE_LINK_SPEED_10GB_FULL;\n+\t\t\tbreak;\n+\t\tcase ixgbe_phy_sgmii:\n+\t\t\t*speed = IXGBE_LINK_SPEED_1GB_FULL;\n+\t\t\tbreak;\n+\t\tdefault:\n+\t\t\t*speed = IXGBE_LINK_SPEED_10GB_FULL |\n+\t\t\t\t IXGBE_LINK_SPEED_1GB_FULL;\n+\t\t\tbreak;\n+\t\t}\n \t\t*autoneg = true;\n \t}\n \treturn 0;\n@@ -3126,6 +3148,9 @@ static s32 ixgbe_init_phy_ops_X550em(struct ixgbe_hw *hw)\n \t\tphy->ops.handle_lasi = ixgbe_handle_lasi_ext_t_x550em;\n \t\tphy->ops.reset = ixgbe_reset_phy_t_X550em;\n \t\tbreak;\n+\tcase ixgbe_phy_sgmii:\n+\t\tphy->ops.setup_link = NULL;\n+\t\tbreak;\n \tcase ixgbe_phy_fw:\n \t\tphy->ops.setup_link = ixgbe_setup_fw_link;\n \t\tphy->ops.reset = ixgbe_reset_phy_fw;\n", "prefixes": [ "1/3" ] }