kernel: bump 5.10 to 5.10.53
[openwrt/staging/wigyori.git] / target / linux / ramips / patches-5.10 / 700-net-ethernet-mediatek-support-net-labels.patch
index c32c16a90876f57864fb74cfdf62a62ee4f21f39..8f4a2d98481ab823a909e7ff45e31a27435066b8 100644 (file)
@@ -22,9 +22,9 @@ Signed-off-by: RenĂ© van Dorst <opensource@vdorst.com>
        const __be32 *_id = of_get_property(np, "reg", NULL);
        phy_interface_t phy_mode;
        struct phylink *phylink;
-@@ -3006,6 +3007,9 @@ static int mtk_add_mac(struct mtk_eth *e
-       eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH - MTK_RX_ETH_HLEN;
+@@ -3008,6 +3009,9 @@ static int mtk_add_mac(struct mtk_eth *e
+       
+       of_platform_device_create(np, NULL, NULL);
  
 +      if (name)
 +              strlcpy(eth->netdev[id]->name, name, IFNAMSIZ);