[][Update Ethernet threaded-napi support for mac80211 autobuild]
[Description]
Refactor Ethernet threaded-napi support for mac80211 autobuild.
This change is made according to OpenWrt newest submission:
https://github.com/openwrt/openwrt/commit/fdbb468c5998
d9adb1819751ffaf38013768a8eb
[Release-log]
N/A
Change-Id: Ic1a7a551175a346d00ea464216667aec9a4c7d1c
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/5900810
diff --git a/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/1004-mtketh-add-threaded-napi-support.patch b/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/1004-mtketh-add-threaded-napi-support.patch
index a9e3495..99e3ecd 100644
--- a/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/1004-mtketh-add-threaded-napi-support.patch
+++ b/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/1004-mtketh-add-threaded-napi-support.patch
@@ -1,12 +1,13 @@
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-index f3c789e9..58b17b7b 100755
+index b6bdb978..9de1b0b6 100755
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -3571,6 +3571,8 @@ static int mtk_probe(struct platform_device *pdev)
+@@ -3696,6 +3696,9 @@ static int mtk_probe(struct platform_device *pdev)
* for NAPI to work
*/
init_dummy_netdev(ð->dummy_dev);
+ eth->dummy_dev.threaded = 1;
++ strcpy(eth->dummy_dev.name, "mtk_eth");
+
netif_napi_add(ð->dummy_dev, ð->tx_napi, mtk_napi_tx,
MTK_NAPI_WEIGHT);