aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/arc770/patches-4.14
diff options
context:
space:
mode:
authorEvgeniy Didin <Evgeniy.Didin@synopsys.com>2018-06-19 13:40:54 +0300
committerJohn Crispin <john@phrozen.org>2018-06-19 14:32:47 +0200
commit56f3aee53149c82687fb90b2551defea6d0df8e9 (patch)
tree75c22f88f9df893918b13d0d8fda5232191307cf /target/linux/arc770/patches-4.14
parent0845a346661092f380ab88fd69f7c29f5247c61a (diff)
downloadupstream-56f3aee53149c82687fb90b2551defea6d0df8e9.tar.gz
upstream-56f3aee53149c82687fb90b2551defea6d0df8e9.tar.bz2
upstream-56f3aee53149c82687fb90b2551defea6d0df8e9.zip
arc770: bump kernel to 4.14
Currently arc770 is no more "source-only". Lets update Linux kernel version from 4.9 to 4.14 for arc770. config-4.14 was simply regenerated with "make kernel_menuconfig". Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/arc770/patches-4.14')
-rw-r--r--target/linux/arc770/patches-4.14/700-stmmac-Disable-frame-filtering-completely.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/arc770/patches-4.14/700-stmmac-Disable-frame-filtering-completely.patch b/target/linux/arc770/patches-4.14/700-stmmac-Disable-frame-filtering-completely.patch
new file mode 100644
index 0000000000..58094ae96d
--- /dev/null
+++ b/target/linux/arc770/patches-4.14/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
+@@ -49,7 +49,7 @@
+ #define STMMAC_GET_ENTRY(x, size) ((x + 1) & (size - 1))
+
+ #undef FRAME_FILTER_DEBUG
+-/* #define FRAME_FILTER_DEBUG */
++#define FRAME_FILTER_DEBUG
+
+ /* Extra statistic and debug information exposed by ethtool */
+ struct stmmac_extra_stats {