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 D289DA0350; Mon, 22 Jun 2020 09:12:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1FF3F1D570; Mon, 22 Jun 2020 09:06:38 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 2CEEF1D564 for ; Mon, 22 Jun 2020 09:06:35 +0200 (CEST) IronPort-SDR: YdZa/6n9M4MAx9e2/1HFDN+Srva5dLFVx/836D0lFGMwl9XB7zMzuCGcX7o6XP88fUiGi30f3k rTw/ZSNpubBQ== X-IronPort-AV: E=McAfee;i="6000,8403,9659"; a="141944899" X-IronPort-AV: E=Sophos;i="5.75,266,1589266800"; d="scan'208";a="141944899" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2020 00:06:34 -0700 IronPort-SDR: CkTsc91fce7e9QQ91U2dMHALdkGv2Fu849Rw8ecQ7OKxcgyGmkHg/CzavZM7rWeoOaa65Pja3M 5X8n0qKq8Rkg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,266,1589266800"; d="scan'208";a="384409107" Received: from dpdk.sh.intel.com ([10.239.255.83]) by fmsmga001.fm.intel.com with ESMTP; 22 Jun 2020 00:06:33 -0700 From: Guinan Sun To: dev@dpdk.org Cc: Jeff Guo , Zhao1 Wei , Guinan Sun , Lotem Leder Date: Mon, 22 Jun 2020 06:46:05 +0000 Message-Id: <20200622064634.70941-42-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 41/70] net/e1000/base: add Foxville device IDs 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" Add Foxville device IDs definitions according to the SKUs described in EAS. Signed-off-by: Lotem Leder Signed-off-by: Guinan Sun --- drivers/net/e1000/base/e1000_api.c | 3 +++ drivers/net/e1000/base/e1000_hw.h | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000/base/e1000_api.c b/drivers/net/e1000/base/e1000_api.c index 646f917b4..a22e67951 100644 --- a/drivers/net/e1000/base/e1000_api.c +++ b/drivers/net/e1000/base/e1000_api.c @@ -344,6 +344,9 @@ s32 e1000_set_mac_type(struct e1000_hw *hw) break; case E1000_DEV_ID_I225_LM: case E1000_DEV_ID_I225_V: + case E1000_DEV_ID_I225_K: + case E1000_DEV_ID_I225_I: + case E1000_DEV_ID_I220_V: mac->type = e1000_i225; break; case E1000_DEV_ID_I350_VF: diff --git a/drivers/net/e1000/base/e1000_hw.h b/drivers/net/e1000/base/e1000_hw.h index 1e1e4e32e..f62689334 100644 --- a/drivers/net/e1000/base/e1000_hw.h +++ b/drivers/net/e1000/base/e1000_hw.h @@ -160,10 +160,11 @@ struct e1000_hw; #define E1000_DEV_ID_I210_SERDES_FLASHLESS 0x157C #define E1000_DEV_ID_I210_SGMII_FLASHLESS 0x15F6 #define E1000_DEV_ID_I211_COPPER 0x1539 -#ifndef NO_I225_SUPPORT #define E1000_DEV_ID_I225_LM 0x15F2 #define E1000_DEV_ID_I225_V 0x15F3 -#endif /* NO_I225_SUPPORT */ +#define E1000_DEV_ID_I225_K 0x3100 +#define E1000_DEV_ID_I225_I 0x15F8 +#define E1000_DEV_ID_I220_V 0x15F7 #define E1000_DEV_ID_I354_BACKPLANE_1GBPS 0x1F40 #define E1000_DEV_ID_I354_SGMII 0x1F41 #define E1000_DEV_ID_I354_BACKPLANE_2_5GBPS 0x1F45 -- 2.17.1