Reset the EIAC register to include the LINK status bit and restore
link up/down notifications. Submitted by: Franco Fichtner <franco@opnsense.org>
This commit is contained in:
parent
8bc3dfc424
commit
0aa7d3ff9e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user