immortalwrt/target/linux/ath79
Chuanhong Guo 3b4c731d00
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 19:28:07 +08:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-29 11:23:24 +08:00
dts ath79: add support for Hak5 WiFi Pineapple NANO 2020-09-28 11:22:26 +08:00
files kernel: Update kernel 5.4 to version 5.4.50 2020-07-05 13:29:49 +08:00
generic ath79: add support for Hak5 WiFi Pineapple NANO 2020-09-28 11:22:26 +08:00
image ath79: add support for Hak5 WiFi Pineapple NANO 2020-09-28 11:22:26 +08:00
mikrotik ath79: sync with upstream source 2020-09-06 19:53:51 +08:00
nand target: update SPDX license names 2020-09-27 13:21:38 +08:00
patches-4.19 ath79: sync with upstream source 2020-09-06 19:53:51 +08:00
patches-5.4 ath79: ar8216: make switch register access atomic 2020-09-30 19:28:07 +08:00
tiny ath79: sync with upstream source 2020-09-06 19:53:51 +08:00
config-4.19 ath79: enable elf mtd splitter 2020-09-10 17:28:10 +08:00
config-5.4 ath79: enable elf mtd splitter 2020-09-10 17:28:10 +08:00
Makefile ath79: enable usbgadget feature 2020-09-28 11:14:36 +08:00
modules.mk Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00