[Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 16 19:45:29 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211219

--- Comment #19 from Sean Bruno <sbruno at FreeBSD.org> ---
(In reply to Franco Fichtner from comment #18)
Is it possible that you are looking at a different source tree than I?

stable/11 currently has the following:

static void
em_enable_intr(struct adapter *adapter)
{
        struct e1000_hw *hw = &adapter->hw;
        u32 ims_mask = IMS_ENABLE_MASK;

        if (hw->mac.type == e1000_82574) {
                E1000_WRITE_REG(hw, EM_EIAC, EM_MSIX_MASK);
                ims_mask |= adapter->ims;
        }
        E1000_WRITE_REG(hw, E1000_IMS, ims_mask);
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list