aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/e1000
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2017-01-12 14:28:32 +0000
committerSean Bruno <sbruno@FreeBSD.org>2017-01-12 14:28:32 +0000
commit0aa7d3ff9ea9e5bbfacee813addb17bfde6bfcab (patch)
tree544196aa6abfe12b972fc161a7e530ec37263fca /sys/dev/e1000
parent8bc3dfc424be63d68c4e7220e41b75d87ac19158 (diff)
downloadsrc-0aa7d3ff9ea9e5bbfacee813addb17bfde6bfcab.tar.gz
src-0aa7d3ff9ea9e5bbfacee813addb17bfde6bfcab.zip
Reset the EIAC register to include the LINK status bit and restore
link up/down notifications. Submitted by: Franco Fichtner <franco@opnsense.org>
Notes
Notes: svn path=/head/; revision=311979
Diffstat (limited to 'sys/dev/e1000')
-rw-r--r--sys/dev/e1000/if_em.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index c498354b7f86..a95814404c46 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -3117,7 +3117,7 @@ em_if_enable_intr(if_ctx_t ctx)
u32 ims_mask = IMS_ENABLE_MASK;
if (hw->mac.type == e1000_82574) {
- E1000_WRITE_REG(hw, EM_EIAC, adapter->ims);
+ E1000_WRITE_REG(hw, EM_EIAC, EM_MSIX_MASK);
ims_mask |= adapter->ims;
} if (adapter->intr_type == IFLIB_INTR_MSIX && hw->mac.type >= igb_mac_min) {
u32 mask = (adapter->que_mask | adapter->link_mask);