kernel: bump 5.4 to 5.4.135
[openwrt/staging/wigyori.git] / target / linux / ramips / patches-5.4 / 401-net-ethernet-mediatek-support-net-labels.patch
index b011b140c7666ceb49c44a9781a15f257fe4d7a4..f29156340b1d149a69a6003659b3e5836b4b2fa2 100644 (file)
@@ -22,9 +22,9 @@ Signed-off-by: RenĂ© van Dorst <opensource@vdorst.com>
        const __be32 *_id = of_get_property(np, "reg", NULL);
        struct phylink *phylink;
        int phy_mode, id, err;
-@@ -3035,6 +3036,9 @@ static int mtk_add_mac(struct mtk_eth *e
-       eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH - MTK_RX_ETH_HLEN;
+@@ -3037,6 +3038,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);