x86: disable EEE for Intel I225/I226 network dropout issues

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
coolsnowwolf 2023-03-04 10:38:21 +08:00 committed by Tianling Shen
parent 08281831be
commit 3c00c15667
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -100,7 +100,7 @@ void igc_reset(struct igc_adapter *adapter)
netdev_err(dev, "Error on hardware initialization\n"); netdev_err(dev, "Error on hardware initialization\n");
/* Re-establish EEE setting */ /* Re-establish EEE setting */
igc_set_eee_i225(hw, true, true, true); igc_set_eee_i225(hw, false, false, false);
if (!netif_running(adapter->netdev)) if (!netif_running(adapter->netdev))
igc_power_down_phy_copper_base(&adapter->hw); igc_power_down_phy_copper_base(&adapter->hw);