commit | dd82a8037a8669f72e926b0be4e3160e09dd78bd | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Mon Oct 07 11:44:03 2024 +0800 |
committer | developer <developer@mediatek.com> | Mon Oct 07 14:09:29 2024 +0800 |
tree | 498f44f613473447b9987a57aa7c8b1501edf58f | |
parent | e412e9e10a4acceb303b611c760a6add408d5b8e [diff] |
[][kernel][common][eth][Fix traffic stuck issue with EN8811H after the network restart] [Description] Fix traffic stuck issue with EN8811H after the network restart. This is a legacy API that switches to the 1000BaseX interface when the PHY link speed is not at 2500Mbps during a network restart command on the EN8811H. Without this patch, the SGMII connection will go down with the EN8811H when the PHY link speed is not at 2500Mbps. [Release-log] N/A Change-Id: I42aa1afdca43f5cbae48d7cd6b8b64715d42bf51 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9715023
diff --git a/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c index 8124f66..85de23f 100644 --- a/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -1383,11 +1383,6 @@ linkmode_and(supported, supported, mask); linkmode_and(state->advertising, state->advertising, mask); - - /* We can only operate at 2500BaseX or 1000BaseX. If requested - * to advertise both, only report advertising at 2500BaseX. - */ - phylink_helper_basex_speed(state); } static const struct phylink_mac_ops mtk_phylink_ops = {