summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_em_hw.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2017-03-19 11:09:26 +0000
committerjsg <jsg@openbsd.org>2017-03-19 11:09:26 +0000
commitcce8e8a9e8ed4c3633b6583cae3edbc85f068ad3 (patch)
tree8c00a71fbbbc6754b2cd559d44a11d9b84994dc8 /sys/dev/pci/if_em_hw.c
parentPut the address of the per-cpu clock and interrupt registers into the cpu_info (diff)
downloadwireguard-openbsd-cce8e8a9e8ed4c3633b6583cae3edbc85f068ad3.tar.xz
wireguard-openbsd-cce8e8a9e8ed4c3633b6583cae3edbc85f068ad3.zip
Match the Kaby Lake and Lewisburg (Skylake-EP PCH) MACs with I219 PHYs.
Expanded version of a diff from claudio@ who tested on x270 ok kettenis@
Diffstat (limited to 'sys/dev/pci/if_em_hw.c')
-rw-r--r--sys/dev/pci/if_em_hw.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em_hw.c b/sys/dev/pci/if_em_hw.c
index f7ed46d796f..d108555a812 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.92 2016/08/23 04:04:23 jsg Exp $ */
+/* $OpenBSD: if_em_hw.c,v 1.93 2017/03/19 11:09:26 jsg Exp $ */
/*
* if_em_hw.c Shared functions for accessing and configuring the MAC
*/
@@ -615,6 +615,11 @@ em_set_mac_type(struct em_hw *hw)
case E1000_DEV_ID_PCH_SPT_I219_V:
case E1000_DEV_ID_PCH_SPT_I219_LM2:
case E1000_DEV_ID_PCH_SPT_I219_V2:
+ case E1000_DEV_ID_PCH_LBG_I219_LM3:
+ case E1000_DEV_ID_PCH_SPT_I219_LM4:
+ case E1000_DEV_ID_PCH_SPT_I219_V4:
+ case E1000_DEV_ID_PCH_SPT_I219_LM5:
+ case E1000_DEV_ID_PCH_SPT_I219_V5:
hw->mac_type = em_pch_spt;
break;
case E1000_DEV_ID_EP80579_LAN_1: