mediatek: add patches for 5.15 and kernel config for mt7622
[openwrt/staging/dedeckeh.git] / target / linux / mediatek / patches-5.15 / 704-net-ethernet-mtk_eth_soc-announce-2500baseT.patch
1 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
2 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
3 @@ -577,6 +577,7 @@ static void mtk_validate(struct phylink_
4 if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_SGMII)) {
5 phylink_set(mask, 1000baseT_Full);
6 phylink_set(mask, 1000baseX_Full);
7 + phylink_set(mask, 2500baseT_Full);
8 phylink_set(mask, 2500baseX_Full);
9 }
10 if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_RGMII)) {