svn commit: r314102 - stable/11/sys/dev/e1000
Marius Strobl
marius at FreeBSD.org
Wed Feb 22 17:57:21 UTC 2017
Author: marius
Date: Wed Feb 22 17:57:19 2017
New Revision: 314102
URL: https://svnweb.freebsd.org/changeset/base/314102
Log:
MFC: r311979
Reset the EIAC register to include the LINK status bit and restore
link up/down notifications.
Modified:
stable/11/sys/dev/e1000/if_em.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/e1000/if_em.c
==============================================================================
--- stable/11/sys/dev/e1000/if_em.c Wed Feb 22 17:20:18 2017 (r314101)
+++ stable/11/sys/dev/e1000/if_em.c Wed Feb 22 17:57:19 2017 (r314102)
@@ -5114,7 +5114,7 @@ em_enable_intr(struct adapter *adapter)
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;
}
E1000_WRITE_REG(hw, E1000_IMS, ims_mask);
More information about the svn-src-stable
mailing list