openwrt/target/linux/ath79
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
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-28 16:23:03 +02:00
dts ath79: add support for Hak5 WiFi Pineapple NANO 2020-09-28 01:28:37 +02:00
files kernel: Update kernel 4.19 to version 4.19.131 2020-07-04 21:12:42 +02:00
generic ath79: add support for Hak5 WiFi Pineapple NANO 2020-09-28 01:28:37 +02:00
image ath79: add support for Hak5 WiFi Pineapple NANO 2020-09-28 01:28:37 +02:00
mikrotik treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
nand target: update SPDX license names 2020-09-22 20:58:26 +02:00
patches-4.19 kernel: Update kernel 4.19 to version 4.19.138 2020-08-10 19:34:37 +02:00
patches-5.4 ath79: ar8216: make switch register access atomic 2020-09-30 15:56:05 +08:00
tiny treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
config-4.19 ath79: enable elf mtd splitter 2020-09-09 20:41:50 +03:00
config-5.4 ath79: enable elf mtd splitter 2020-09-09 20:41:50 +03:00
Makefile ath79: enable usbgadget feature 2020-09-28 01:28:37 +02:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00