From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AAEB1A0350; Mon, 22 Jun 2020 09:16:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 68BEE1D60D; Mon, 22 Jun 2020 09:07:20 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 2DC131D606 for ; Mon, 22 Jun 2020 09:07:17 +0200 (CEST) IronPort-SDR: GYO9XMt9eEVedlqGkAM4eXgO038VcCttRY+GJc4QklvG266/OGEcTql4ZWp4O2G9WGcM4rFaUs k+k+5Qhlh89A== X-IronPort-AV: E=McAfee;i="6000,8403,9659"; a="131070889" X-IronPort-AV: E=Sophos;i="5.75,266,1589266800"; d="scan'208";a="131070889" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2020 00:07:16 -0700 IronPort-SDR: 7BIW3Ao65o20NtRr+AxmrpOjOnGHjL/6d8uWWNSMqu1e4WHQFw3sTjcd6lXTPLVVg/P4xB6yk1 zHrDSvrGs3Nw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,266,1589266800"; d="scan'208";a="384409275" Received: from dpdk.sh.intel.com ([10.239.255.83]) by fmsmga001.fm.intel.com with ESMTP; 22 Jun 2020 00:07:14 -0700 From: Guinan Sun To: dev@dpdk.org Cc: Jeff Guo , Zhao1 Wei , Guinan Sun , Sasha Neftin Date: Mon, 22 Jun 2020 06:46:26 +0000 Message-Id: <20200622064634.70941-63-guinanx.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200622064634.70941-1-guinanx.sun@intel.com> References: <20200622064634.70941-1-guinanx.sun@intel.com> Subject: [dpdk-dev] [PATCH 62/70] net/e1000/base: introduce IEEE PHY ID mask X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch introduce the proprietary mask to select PHYID bits from PHYID1 and PHYID2 words. PHYID2 word contain also Intel Device Number (LDN) and Intel Device Revision Nember (LDRN) Signed-off-by: Sasha Neftin Signed-off-by: Guinan Sun --- drivers/net/e1000/base/e1000_defines.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/e1000/base/e1000_defines.h b/drivers/net/e1000/base/e1000_defines.h index 0b215d2cf..bcd7a1008 100644 --- a/drivers/net/e1000/base/e1000_defines.h +++ b/drivers/net/e1000/base/e1000_defines.h @@ -1380,12 +1380,11 @@ #define I82580_I_PHY_ID 0x015403A0 #define I350_I_PHY_ID 0x015403B0 #define I210_I_PHY_ID 0x01410C00 -#ifndef NO_I225_SUPPORT -#define I225_I_PHY_ID 0x67C9DC00 -#endif /* NO_I225_SUPPORT */ #define IGP04E1000_E_PHY_ID 0x02A80391 #define BCM54616_E_PHY_ID 0x03625D10 #define M88_VENDOR 0x0141 +#define I225_I_PHY_ID 0x67C9DC00 +#define I225_I_PHY_ID_MASK 0x3FFFFC00 /* M88E1000 Specific Registers */ #define M88E1000_PHY_SPEC_CTRL 0x10 /* PHY Specific Control Reg */ -- 2.17.1