aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/arc770/patches-4.9
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2017-03-06 21:30:08 +0300
committerFelix Fietkau <nbd@nbd.name>2017-05-02 15:17:30 +0200
commit491abe8c998381983caa3e411bcef5117e5cfbbb (patch)
tree695a4abc2f3a08667835650c61b7987f92130a68 /target/linux/arc770/patches-4.9
parentd73045826a0c4dedca1f8a9cff93b2b0b790ac61 (diff)
downloadupstream-491abe8c998381983caa3e411bcef5117e5cfbbb.tar.gz
upstream-491abe8c998381983caa3e411bcef5117e5cfbbb.tar.bz2
upstream-491abe8c998381983caa3e411bcef5117e5cfbbb.zip
target/arc770: switch to 4.9 kernel
With update of ARC tools to arc-2016.09 based on GCC v6.x we have to bump Linux kernel version so both toolchain and the kernel use the same ARC ABIv4. Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Diffstat (limited to 'target/linux/arc770/patches-4.9')
-rw-r--r--target/linux/arc770/patches-4.9/700-stmmac-Disable-frame-filtering-completely.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/arc770/patches-4.9/700-stmmac-Disable-frame-filtering-completely.patch b/target/linux/arc770/patches-4.9/700-stmmac-Disable-frame-filtering-completely.patch
new file mode 100644
index 0000000000..cd66de82b2
--- /dev/null
+++ b/target/linux/arc770/patches-4.9/700-stmmac-Disable-frame-filtering-completely.patch
@@ -0,0 +1,31 @@
+From 0031b9011cb2b2b1de4dbb4f9620303aec760db4 Mon Sep 17 00:00:00 2001
+From: Alexey Brodkin <abrodkin@synopsys.com>
+Date: Wed, 27 Jul 2016 11:33:14 +0300
+Subject: [PATCH] stmmac: Disable frame filtering completely
+
+For some [still unknown] reason in ARC SDP boards
+DW GMAC doesn't enter promiscuous mode if eth0 gets
+added to the br-lan interface before Ethernet PHY finishes
+autonegotiation (PHY gets reset on DW GMAC start).
+
+As a work-around we completely disable frame filtering
+in GMAC hardware which gives us working bridge that consists
+of eth0 and wlan0 (USB Wi-Fi dongle). I.e. we finally have
+working "Dumb AP" setup made of ARC AXS10x boards.
+
+Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
+---
+ drivers/net/ethernet/stmicro/stmmac/common.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/net/ethernet/stmicro/stmmac/common.h
++++ b/drivers/net/ethernet/stmicro/stmmac/common.h
+@@ -42,7 +42,7 @@
+ #define DWMAC_CORE_3_50 0x35
+
+ #undef FRAME_FILTER_DEBUG
+-/* #define FRAME_FILTER_DEBUG */
++#define FRAME_FILTER_DEBUG
+
+ /* Extra statistic and debug information exposed by ethtool */
+ struct stmmac_extra_stats {