Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/660296/?format=api
{ "id": 660296, "url": "http://patchwork.ozlabs.org/api/patches/660296/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1471480480-26483-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": "<1471480480-26483-1-git-send-email-donald.c.skidmore@intel.com>", "list_archive_url": null, "date": "2016-08-18T00:34:40", "name": "ixgbe: Add support for new X557 device", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "8cffb5dc99c6e4e94ce29ffa0a4fc9eb0caefc77", "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/1471480480-26483-1-git-send-email-donald.c.skidmore@intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/660296/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/660296/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 3sF5HV0Yq7z9t1Q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 18 Aug 2016 09:37:25 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 745A58AFA1;\n\tWed, 17 Aug 2016 23:37:24 +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 TVktfHqZllCE; Wed, 17 Aug 2016 23:37:23 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id B61DE8AF9D;\n\tWed, 17 Aug 2016 23:37:23 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id BB6C31C11F2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Aug 2016 23:37:21 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id B65638A5C3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Aug 2016 23:37:21 +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 ZlLeViox8PMt for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Aug 2016 23:37:21 +0000 (UTC)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 223CC89A63\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Aug 2016 23:37:21 +0000 (UTC)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga102.fm.intel.com with ESMTP; 17 Aug 2016 16:37:20 -0700", "from dcskidmo-m40.jf.intel.com ([134.134.3.25])\n\tby fmsmga004.fm.intel.com with ESMTP; 17 Aug 2016 16:37:20 -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.28,536,1464678000\"; d=\"scan'208\";a=\"157444871\"", "From": "Donald C Skidmore <donald.c.skidmore@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Wed, 17 Aug 2016 20:34:40 -0400", "Message-Id": "<1471480480-26483-1-git-send-email-donald.c.skidmore@intel.com>", "X-Mailer": "git-send-email 2.4.3", "Subject": "[Intel-wired-lan] [PATCH] ixgbe: Add support for new X557 device", "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": "This patch adds support for the new copper device X557.\n\nSigned-off-by: Don Skidmore <donald.c.skidmore@intel.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 1 +\n drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 1 +\n drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 1 +\n drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 8 ++++++++\n 4 files changed, 11 insertions(+)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c\nindex b4217f3..3095c24 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c\n@@ -99,6 +99,7 @@ bool ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw)\n \t\tcase IXGBE_DEV_ID_X550T:\n \t\tcase IXGBE_DEV_ID_X550T1:\n \t\tcase IXGBE_DEV_ID_X550EM_X_10G_T:\n+\t\tcase IXGBE_DEV_ID_X550EM_A_10G_T:\n \t\t\tsupported = true;\n \t\t\tbreak;\n \t\tdefault:\ndiff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\nindex e06ca55..33ad52b 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n@@ -137,6 +137,7 @@ static const struct pci_device_id ixgbe_pci_tbl[] = {\n \t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_A_SFP_N), board_x550em_a },\n \t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_A_SGMII), board_x550em_a },\n \t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_A_SGMII_L), board_x550em_a },\n+\t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_A_10G_T), board_x550em_a},\n \t{PCI_VDEVICE(INTEL, IXGBE_DEV_ID_X550EM_A_SFP), board_x550em_a },\n \t/* required last entry */\n \t{0, }\ndiff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\nindex a59b65f7..31d82e3 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h\n@@ -90,6 +90,7 @@\n #define IXGBE_DEV_ID_X550EM_A_SFP_N\t0x15C4\n #define IXGBE_DEV_ID_X550EM_A_SGMII\t0x15C6\n #define IXGBE_DEV_ID_X550EM_A_SGMII_L\t0x15C7\n+#define IXGBE_DEV_ID_X550EM_A_10G_T\t0x15C8\n #define IXGBE_DEV_ID_X550EM_A_SFP\t0x15CE\n \n /* VF Device IDs */\ndiff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c\nindex a8030e0..fb1b819 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c\n@@ -295,6 +295,12 @@ static s32 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw)\n \tcase IXGBE_DEV_ID_X550EM_A_KR_L:\n \t\thw->phy.type = ixgbe_phy_x550em_kr;\n \t\tbreak;\n+\tcase IXGBE_DEV_ID_X550EM_A_10G_T:\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\t/* Fallthrough */\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@@ -2500,6 +2506,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_X550em(struct ixgbe_hw *hw)\n \t\tbreak;\n \tcase IXGBE_DEV_ID_X550EM_X_1G_T:\n \tcase IXGBE_DEV_ID_X550EM_X_10G_T:\n+\tcase IXGBE_DEV_ID_X550EM_A_10G_T:\n \t\tmedia_type = ixgbe_media_type_copper;\n \t\tbreak;\n \tdefault:\n@@ -2560,6 +2567,7 @@ static void ixgbe_set_mdio_speed(struct ixgbe_hw *hw)\n \tcase IXGBE_DEV_ID_X550EM_X_10G_T:\n \tcase IXGBE_DEV_ID_X550EM_A_SGMII:\n \tcase IXGBE_DEV_ID_X550EM_A_SGMII_L:\n+\tcase IXGBE_DEV_ID_X550EM_A_10G_T:\n \tcase IXGBE_DEV_ID_X550EM_A_SFP:\n \t\t/* Config MDIO clock speed before the first MDIO PHY access */\n \t\thlreg0 = IXGBE_READ_REG(hw, IXGBE_HLREG0);\n", "prefixes": [] }