1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 06:28:12 +02:00
openwrt/target/linux
Chuanhong Guo 86fdc8abed ath79: ar8216: make switch register access atomic
reg accesses on integrated ar8229 sometimes fails. As a result, phy read
got incorrect port status and wan link goes down and up mysteriously.
After comparing ar8216 with the old driver, these local_irq_save/restore
calls are the only meaningful differences I could find and it does fix
the issue.
The same changes were added in svn r26856 by Gabor Juhos:
ar71xx: ag71xx: make switch register access atomic

As I can't find the underlying problem either, this hack is broght
back to fix the unstable link issue.
This hack is only suitable for ath79 mdio and may easily break the
driver on other platform. Limit it to ath79-only as a target patch.

Fixes: FS#2216
Fixes: FS#3226
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-09-30 15:56:05 +08:00
..
apm821xx treewide: remove empty default cases 2020-09-17 12:46:19 +02:00
arc770 arc770: drop support for kernel 4.14 2020-09-02 16:29:22 +02:00
archs38
armvirt
at91
ath25 ath25: fix preinit Ethernet port configuration 2020-09-10 18:52:15 +02:00
ath79 ath79: ar8216: make switch register access atomic 2020-09-30 15:56:05 +08:00
bcm27xx kernel: bump 5.4 to 5.4.67 2020-09-24 18:53:23 +02:00
bcm47xx kernel: bump 5.4 to 5.4.64 2020-09-12 01:28:50 +02:00
bcm53xx bcm53xx: add Cisco Meraki MR32 2020-09-25 19:32:34 +02:00
bcm63xx kernel: bump 5.4 to 5.4.67 2020-09-24 18:53:23 +02:00
gemini gemini: Bring up DSA switches 2020-09-25 19:32:34 +02:00
generic kernel: bump 5.4 to 5.4.68 2020-09-28 16:23:11 +02:00
imx6
ipq40xx ipq40xx: tidy up device recipe for Edgecore OAP100 2020-09-26 18:26:19 +02:00
ipq806x ipq806x: fix support of Edgecore ECW5410 support 2020-09-19 13:32:11 +02:00
ipq807x
kirkwood target: update SPDX license names 2020-09-22 20:58:26 +02:00
lantiq kernel: bump 5.4 to 5.4.67 2020-09-24 18:53:23 +02:00
layerscape kernel: bump 5.4 to 5.4.67 2020-09-24 18:53:23 +02:00
malta
mediatek kernel: bump 5.4 to 5.4.67 2020-09-24 18:53:23 +02:00
mpc85xx target: update SPDX license names 2020-09-22 20:58:26 +02:00
mvebu target: update SPDX license names 2020-09-22 20:58:26 +02:00
mxs
octeon
octeontx
omap
oxnas target: update SPDX license names 2020-09-22 20:58:26 +02:00
pistachio pistachio: drop support for kernel 4.14 2020-09-02 16:29:22 +02:00
ramips ramips: merge ethernet setup for RT-AC51U/RT-AC54U 2020-09-28 00:20:24 +02:00
rockchip rockchip: rk3328: add compatible to NanoPi R2S ethernet PHY 2020-09-30 00:06:59 +02:00
rtl838x target: update SPDX license names 2020-09-22 20:58:26 +02:00
sunxi
tegra
uml
x86 kernel: bump 5.4 to 5.4.63 2020-09-06 19:55:19 +02:00
zynq
Makefile