X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fpatches-5.10%2F700-net-ethernet-mediatek-support-net-labels.patch;fp=target%2Flinux%2Framips%2Fpatches-5.10%2F700-net-ethernet-mediatek-support-net-labels.patch;h=f86daff7d659dfd770a2b4bc59d88dd52d37dd05;hp=8e9429ed183f2f80a1d9b6cd079ac0109c30a624;hb=9e5d743422edc4036cda7d96b96ba62705f382de;hpb=5202a511cc4557303d4b77bf77ebb66e524dcddf diff --git a/target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch b/target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch index 8e9429ed18..f86daff7d6 100644 --- a/target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch +++ b/target/linux/ramips/patches-5.10/700-net-ethernet-mediatek-support-net-labels.patch @@ -14,7 +14,7 @@ Signed-off-by: René van Dorst --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c -@@ -2958,6 +2958,7 @@ static const struct net_device_ops mtk_n +@@ -2975,6 +2975,7 @@ static const struct net_device_ops mtk_n static int mtk_add_mac(struct mtk_eth *eth, struct device_node *np) { @@ -22,7 +22,7 @@ Signed-off-by: René van Dorst const __be32 *_id = of_get_property(np, "reg", NULL); phy_interface_t phy_mode; struct phylink *phylink; -@@ -3053,6 +3054,9 @@ static int mtk_add_mac(struct mtk_eth *e +@@ -3070,6 +3071,9 @@ static int mtk_add_mac(struct mtk_eth *e else eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH_2K - MTK_RX_ETH_HLEN;