summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2019-01-05 11:55:46 +0000
committerjsg <jsg@openbsd.org>2019-01-05 11:55:46 +0000
commit4753977ca5334a2de336edb40dfb3aee657659cf (patch)
tree8740983ba0ad25b7604626e3c21988e45100f477
parentregen (diff)
downloadwireguard-openbsd-4753977ca5334a2de336edb40dfb3aee657659cf.tar.xz
wireguard-openbsd-4753977ca5334a2de336edb40dfb3aee657659cf.zip
Add em_pch_cnp to IS_ICH8 macro. Missed when adding em_pch_cnp.
-rw-r--r--sys/dev/pci/if_em_hw.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em_hw.h b/sys/dev/pci/if_em_hw.h
index 7ad3b5f0759..8cc374339eb 100644
--- a/sys/dev/pci/if_em_hw.h
+++ b/sys/dev/pci/if_em_hw.h
@@ -31,7 +31,7 @@
*******************************************************************************/
-/* $OpenBSD: if_em_hw.h,v 1.76 2018/04/29 08:45:01 sf Exp $ */
+/* $OpenBSD: if_em_hw.h,v 1.77 2019/01/05 11:55:46 jsg Exp $ */
/* $FreeBSD: if_em_hw.h,v 1.15 2005/05/26 23:32:02 tackerman Exp $ */
/* if_em_hw.h
@@ -87,7 +87,8 @@ typedef enum {
#define IS_ICH8(t) \
(t == em_ich8lan || t == em_ich9lan || t == em_ich10lan || \
- t == em_pchlan || t == em_pch2lan || t == em_pch_lpt || t == em_pch_spt)
+ t == em_pchlan || t == em_pch2lan || t == em_pch_lpt || \
+ t == em_pch_spt || em_pch_cnp)
typedef enum {
em_eeprom_uninitialized = 0,