l30013671 / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
Pablo Greco d6c4c4
From 914ee9c436cbe90c8ca8a46ec8433cb614a2ada5 Mon Sep 17 00:00:00 2001
Pablo Greco d6c4c4
From: Sasha Neftin <sasha.neftin@intel.com>
Pablo Greco d6c4c4
Date: Thu, 10 Oct 2019 13:15:39 +0300
Pablo Greco d6c4c4
Subject: [PATCH] e1000e: Add support for Comet Lake
Pablo Greco d6c4c4
Pablo Greco d6c4c4
Add devices ID's for the next LOM generations that will be
Pablo Greco d6c4c4
available on the next Intel Client platform (Comet Lake)
Pablo Greco d6c4c4
This patch provides the initial support for these devices
Pablo Greco d6c4c4
Pablo Greco d6c4c4
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Pablo Greco d6c4c4
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Pablo Greco d6c4c4
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Pablo Greco d6c4c4
---
Pablo Greco d6c4c4
 drivers/net/ethernet/intel/e1000e/hw.h     | 6 ++++++
Pablo Greco d6c4c4
 drivers/net/ethernet/intel/e1000e/netdev.c | 6 ++++++
Pablo Greco d6c4c4
 2 files changed, 12 insertions(+)
Pablo Greco d6c4c4
Pablo Greco d6c4c4
diff --git a/drivers/net/ethernet/intel/e1000e/hw.h b/drivers/net/ethernet/intel/e1000e/hw.h
Pablo Greco d6c4c4
index eff75bd8a8f0..11fdc27faa82 100644
Pablo Greco d6c4c4
--- a/drivers/net/ethernet/intel/e1000e/hw.h
Pablo Greco d6c4c4
+++ b/drivers/net/ethernet/intel/e1000e/hw.h
Pablo Greco d6c4c4
@@ -86,6 +86,12 @@ struct e1000_hw;
Pablo Greco d6c4c4
 #define E1000_DEV_ID_PCH_ICP_I219_V8		0x15E0
Pablo Greco d6c4c4
 #define E1000_DEV_ID_PCH_ICP_I219_LM9		0x15E1
Pablo Greco d6c4c4
 #define E1000_DEV_ID_PCH_ICP_I219_V9		0x15E2
Pablo Greco d6c4c4
+#define E1000_DEV_ID_PCH_CMP_I219_LM10		0x0D4E
Pablo Greco d6c4c4
+#define E1000_DEV_ID_PCH_CMP_I219_V10		0x0D4F
Pablo Greco d6c4c4
+#define E1000_DEV_ID_PCH_CMP_I219_LM11		0x0D4C
Pablo Greco d6c4c4
+#define E1000_DEV_ID_PCH_CMP_I219_V11		0x0D4D
Pablo Greco d6c4c4
+#define E1000_DEV_ID_PCH_CMP_I219_LM12		0x0D53
Pablo Greco d6c4c4
+#define E1000_DEV_ID_PCH_CMP_I219_V12		0x0D55
Pablo Greco d6c4c4
Pablo Greco d6c4c4
 #define E1000_REVISION_4	4
Pablo Greco d6c4c4
Pablo Greco d6c4c4
diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
Pablo Greco d6c4c4
index 42f57ab8fb8e..731e1b3e103a 100644
Pablo Greco d6c4c4
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
Pablo Greco d6c4c4
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
Pablo Greco d6c4c4
@@ -7749,6 +7749,12 @@ static const struct pci_device_id e1000_pci_tbl[] = {
Pablo Greco d6c4c4
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_ICP_I219_V8), board_pch_cnp },
Pablo Greco d6c4c4
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_ICP_I219_LM9), board_pch_cnp },
Pablo Greco d6c4c4
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_ICP_I219_V9), board_pch_cnp },
Pablo Greco d6c4c4
+	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CMP_I219_LM10), board_pch_cnp },
Pablo Greco d6c4c4
+	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CMP_I219_V10), board_pch_cnp },
Pablo Greco d6c4c4
+	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CMP_I219_LM11), board_pch_cnp },
Pablo Greco d6c4c4
+	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CMP_I219_V11), board_pch_cnp },
Pablo Greco d6c4c4
+	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CMP_I219_LM12), board_pch_spt },
Pablo Greco d6c4c4
+	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_CMP_I219_V12), board_pch_spt },
Pablo Greco d6c4c4
Pablo Greco d6c4c4
 	{ 0, 0, 0, 0, 0, 0, 0 }	/* terminate list */
Pablo Greco d6c4c4
 };
Pablo Greco d6c4c4
-- 
Pablo Greco d6c4c4
2.24.1
Pablo Greco d6c4c4