svn commit: r314103 - stable/10/sys/dev/e1000

Marius Strobl marius at FreeBSD.org
Wed Feb 22 17:57:25 UTC 2017


Author: marius
Date: Wed Feb 22 17:57:24 2017
New Revision: 314103
URL: https://svnweb.freebsd.org/changeset/base/314103

Log:
  MFC: r311979
  
  Reset the EIAC register to include the LINK status bit and restore
  link up/down notifications.

Modified:
  stable/10/sys/dev/e1000/if_em.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/e1000/if_em.c
==============================================================================
--- stable/10/sys/dev/e1000/if_em.c	Wed Feb 22 17:57:19 2017	(r314102)
+++ stable/10/sys/dev/e1000/if_em.c	Wed Feb 22 17:57:24 2017	(r314103)
@@ -5157,7 +5157,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-all mailing list