diff options
author | Petr Štetiar <ynezz@true.cz> | 2020-04-07 10:08:16 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-04-09 00:12:46 +0200 |
commit | b299002877c801202c3b61d5e09865e88f506176 (patch) | |
tree | cf1d30e16b53a53e4d04630527f67b01eac38181 /target/linux/mediatek/patches-5.4/0999-hnat.patch | |
parent | 196cab719f8f318ec771e5f1a07728c12b7fa207 (diff) | |
download | upstream-b299002877c801202c3b61d5e09865e88f506176.tar.gz upstream-b299002877c801202c3b61d5e09865e88f506176.tar.bz2 upstream-b299002877c801202c3b61d5e09865e88f506176.zip |
kernel: bump 5.4 to 5.4.31
Refreshed patches, removed upstreamed patches:
oxnas: 003-ARM-dts-oxnas-Fix-clear-mask-property.patch
generic: 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch
Run tested: apu2, qemu-x86-64, apalis
Build tested: sunxi/a53, imx6, x86/64, ipq40xx
Tested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> [apu2]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/mediatek/patches-5.4/0999-hnat.patch')
-rw-r--r-- | target/linux/mediatek/patches-5.4/0999-hnat.patch | 36 |
1 files changed, 11 insertions, 25 deletions
diff --git a/target/linux/mediatek/patches-5.4/0999-hnat.patch b/target/linux/mediatek/patches-5.4/0999-hnat.patch index ad04e355e6..63c2b789cc 100644 --- a/target/linux/mediatek/patches-5.4/0999-hnat.patch +++ b/target/linux/mediatek/patches-5.4/0999-hnat.patch @@ -1,7 +1,5 @@ -Index: linux-5.4.28/drivers/net/ethernet/mediatek/Kconfig -=================================================================== ---- linux-5.4.28.orig/drivers/net/ethernet/mediatek/Kconfig -+++ linux-5.4.28/drivers/net/ethernet/mediatek/Kconfig +--- a/drivers/net/ethernet/mediatek/Kconfig ++++ b/drivers/net/ethernet/mediatek/Kconfig @@ -14,4 +14,8 @@ config NET_MEDIATEK_SOC This driver supports the gigabit ethernet MACs in the MediaTek SoC family. @@ -11,19 +9,15 @@ Index: linux-5.4.28/drivers/net/ethernet/mediatek/Kconfig + depends on NET_MEDIATEK_SOC + endif #NET_VENDOR_MEDIATEK -Index: linux-5.4.28/drivers/net/ethernet/mediatek/Makefile -=================================================================== ---- linux-5.4.28.orig/drivers/net/ethernet/mediatek/Makefile -+++ linux-5.4.28/drivers/net/ethernet/mediatek/Makefile +--- a/drivers/net/ethernet/mediatek/Makefile ++++ b/drivers/net/ethernet/mediatek/Makefile @@ -5,3 +5,4 @@ obj-$(CONFIG_NET_MEDIATEK_SOC) += mtk_eth.o mtk_eth-y := mtk_eth_soc.o mtk_sgmii.o mtk_eth_path.o +mtk_eth-$(CONFIG_NET_MEDIATEK_OFFLOAD) += mtk_offload.o mtk_debugfs.o -Index: linux-5.4.28/drivers/net/ethernet/mediatek/mtk_debugfs.c -=================================================================== --- /dev/null -+++ linux-5.4.28/drivers/net/ethernet/mediatek/mtk_debugfs.c ++++ b/drivers/net/ethernet/mediatek/mtk_debugfs.c @@ -0,0 +1,117 @@ +/* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by @@ -142,10 +136,8 @@ Index: linux-5.4.28/drivers/net/ethernet/mediatek/mtk_debugfs.c + + return 0; +} -Index: linux-5.4.28/drivers/net/ethernet/mediatek/mtk_eth_soc.c -=================================================================== ---- linux-5.4.28.orig/drivers/net/ethernet/mediatek/mtk_eth_soc.c -+++ linux-5.4.28/drivers/net/ethernet/mediatek/mtk_eth_soc.c +--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c ++++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -19,6 +19,8 @@ #include <linux/interrupt.h> #include <linux/pinctrl/devinfo.h> @@ -259,10 +251,8 @@ Index: linux-5.4.28/drivers/net/ethernet/mediatek/mtk_eth_soc.c }; static const struct mtk_soc_data mt7623_data = { -Index: linux-5.4.28/drivers/net/ethernet/mediatek/mtk_eth_soc.h -=================================================================== ---- linux-5.4.28.orig/drivers/net/ethernet/mediatek/mtk_eth_soc.h -+++ linux-5.4.28/drivers/net/ethernet/mediatek/mtk_eth_soc.h +--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h ++++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h @@ -771,6 +771,13 @@ enum mkt_eth_capabilities { MTK_MUX_U3_GMAC2_TO_QPHY | \ MTK_MUX_GMAC12_TO_GEPHY_SGMII | MTK_QDMA) @@ -348,10 +338,8 @@ Index: linux-5.4.28/drivers/net/ethernet/mediatek/mtk_eth_soc.h +int mtk_offload_check_rx(struct mtk_eth *eth, struct sk_buff *skb, u32 rxd4); + #endif /* MTK_ETH_H */ -Index: linux-5.4.28/drivers/net/ethernet/mediatek/mtk_offload.c -=================================================================== --- /dev/null -+++ linux-5.4.28/drivers/net/ethernet/mediatek/mtk_offload.c ++++ b/drivers/net/ethernet/mediatek/mtk_offload.c @@ -0,0 +1,593 @@ +/* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by @@ -946,10 +934,8 @@ Index: linux-5.4.28/drivers/net/ethernet/mediatek/mtk_offload.c +{ + mtk_ppe_stop(eth); +} -Index: linux-5.4.28/drivers/net/ethernet/mediatek/mtk_offload.h -=================================================================== --- /dev/null -+++ linux-5.4.28/drivers/net/ethernet/mediatek/mtk_offload.h ++++ b/drivers/net/ethernet/mediatek/mtk_offload.h @@ -0,0 +1,298 @@ +/* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by |