Author: sbruno
Date: Thu Jan 12 14:28:32 2017
New Revision: 311979
URL: https://svnweb.freebsd.org/changeset/base/311979

Log:
  Reset the EIAC register to include the LINK status bit and restore
  link up/down notifications.
  
  Submitted by: Franco Fichtner <fra...@opnsense.org>

Modified:
  head/sys/dev/e1000/if_em.c

Modified: head/sys/dev/e1000/if_em.c
==============================================================================
--- head/sys/dev/e1000/if_em.c  Thu Jan 12 14:18:52 2017        (r311978)
+++ head/sys/dev/e1000/if_em.c  Thu Jan 12 14:28:32 2017        (r311979)
@@ -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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to