mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
87b6e10c71
To easy future maintainance, replace the local patch with what has been accepted into net-next and is likely to end up in Linux 5.17. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
11 lines
430 B
Diff
11 lines
430 B
Diff
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
|
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
|
@@ -575,6 +575,7 @@ static void mtk_validate(struct phylink_
|
|
if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_SGMII)) {
|
|
phylink_set(mask, 1000baseT_Full);
|
|
phylink_set(mask, 1000baseX_Full);
|
|
+ phylink_set(mask, 2500baseT_Full);
|
|
phylink_set(mask, 2500baseX_Full);
|
|
}
|
|
if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_RGMII)) {
|