summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_em_hw.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-12-03 00:19:26 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-12-03 00:19:26 +0000
commit74fc5d562aefed0eff073584390cd6fbd015294a (patch)
treec22bc1d693e712ebdc2396ef3f9ffa283fe416a0 /sys/dev/pci/if_em_hw.c
parentaa253e8834a5a6fbad27a721aa0f09a43ec73678 (diff)
match Lunar Lake, Raptor Lake and Arrow Lake
Diffstat (limited to 'sys/dev/pci/if_em_hw.c')
-rw-r--r--sys/dev/pci/if_em_hw.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em_hw.c b/sys/dev/pci/if_em_hw.c
index 5cd58ebf1eb..481ea9513b7 100644
--- a/sys/dev/pci/if_em_hw.c
+++ b/sys/dev/pci/if_em_hw.c
@@ -31,7 +31,7 @@
*******************************************************************************/
-/* $OpenBSD: if_em_hw.c,v 1.118 2023/09/05 13:06:42 naddy Exp $ */
+/* $OpenBSD: if_em_hw.c,v 1.119 2023/12/03 00:19:25 jsg Exp $ */
/*
* if_em_hw.c Shared functions for accessing and configuring the MAC
*/
@@ -660,11 +660,23 @@ em_set_mac_type(struct em_hw *hw)
case E1000_DEV_ID_PCH_ADP_I219_V16:
case E1000_DEV_ID_PCH_ADP_I219_LM17:
case E1000_DEV_ID_PCH_ADP_I219_V17:
+ case E1000_DEV_ID_PCH_RPL_I219_LM22:
+ case E1000_DEV_ID_PCH_RPL_I219_V22:
+ case E1000_DEV_ID_PCH_RPL_I219_LM23:
+ case E1000_DEV_ID_PCH_RPL_I219_V23:
+ hw->mac_type = em_pch_adp;
+ break;
case E1000_DEV_ID_PCH_MTP_I219_LM18:
case E1000_DEV_ID_PCH_MTP_I219_V18:
case E1000_DEV_ID_PCH_MTP_I219_LM19:
case E1000_DEV_ID_PCH_MTP_I219_V19:
- hw->mac_type = em_pch_adp;
+ case E1000_DEV_ID_PCH_LNP_I219_LM20:
+ case E1000_DEV_ID_PCH_LNP_I219_V20:
+ case E1000_DEV_ID_PCH_LNP_I219_LM21:
+ case E1000_DEV_ID_PCH_LNP_I219_V21:
+ case E1000_DEV_ID_PCH_ARL_I219_LM24:
+ case E1000_DEV_ID_PCH_ARL_I219_V24:
+ hw->mac_type = em_pch_adp; /* pch_mtp */
break;
case E1000_DEV_ID_EP80579_LAN_1:
hw->mac_type = em_icp_xxxx;