diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-06-17 09:55:13 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-06-17 09:55:13 +0000 |
commit | 01796e87b169ef53d51f88a32d2550c1f914808a (patch) | |
tree | ba820f79412251ab7d0c95976989cb4ec0ed1fa0 /target/sdk | |
parent | 9a59b350b7587eae4bcf6091b4dc86a4ee92bcf6 (diff) | |
download | master-31e0f0ae-01796e87b169ef53d51f88a32d2550c1f914808a.tar.gz master-31e0f0ae-01796e87b169ef53d51f88a32d2550c1f914808a.tar.bz2 master-31e0f0ae-01796e87b169ef53d51f88a32d2550c1f914808a.zip |
ar71xx: rb493g: fix gpio-mdio accesses under load
It seems that there are maximum timings for mdio accesses that can be
hit when the system is under load and the thread is scheduled during
a read or write access. Since there is no way of knowing if this
happens as there is not even a parity bit, try to work around it
by disabling interrupts during any gpio-mdio accesses.
Performance impact seems to be neglectable, as mdio accesses are not
that often.
Hopefully fixes #19500.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46012
Diffstat (limited to 'target/sdk')
0 files changed, 0 insertions, 0 deletions