We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65a29da commit d3509f8Copy full SHA for d3509f8
drivers/net/ethernet/intel/e1000e/netdev.c
@@ -5099,7 +5099,7 @@ static bool e1000e_has_link(struct e1000_adapter *adapter)
5099
break;
5100
}
5101
5102
- if ((ret_val == E1000_ERR_PHY) && (hw->phy.type == e1000_phy_igp_3) &&
+ if ((ret_val == -E1000_ERR_PHY) && (hw->phy.type == e1000_phy_igp_3) &&
5103
(er32(CTRL) & E1000_PHY_CTRL_GBE_DISABLE)) {
5104
/* See e1000_kmrn_lock_loss_workaround_ich8lan() */
5105
e_info("Gigabit has been disabled, downgrading speed\n");
0 commit comments