mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
em: restore link state probing for 82574 chipsets
This matches the Intel 7.6.2 driver code to restore "no carrier" state transitions in the 82574 chipsets. PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211219 Also see: https://svnweb.freebsd.org/base?view=revision&revision=286831
This commit is contained in:
parent
6b1cb806dc
commit
c8eb7db1e2
1 changed files with 2 additions and 2 deletions
|
|
@ -5150,8 +5150,8 @@ 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);
|
||||
ims_mask |= adapter->ims;
|
||||
E1000_WRITE_REG(hw, EM_EIAC, EM_MSIX_MASK);
|
||||
ims_mask |= EM_MSIX_MASK;
|
||||
}
|
||||
E1000_WRITE_REG(hw, E1000_IMS, ims_mask);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue