Date: Thu, 12 Jan 2017 14:28:32 +0000 (UTC) From: Sean Bruno <sbruno@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r311979 - head/sys/dev/e1000 Message-ID: <201701121428.v0CESWxp099812@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <franco@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701121428.v0CESWxp099812>