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);
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to