Jonas Gorski 79023635ec 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>

Backport of r46012.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-17 10:22:06 +00:00
..
2015-04-11 10:28:06 +00:00
2015-05-28 13:45:33 +00:00
2015-05-27 14:57:38 +00:00
2015-05-28 13:25:21 +00:00
2015-03-13 03:02:34 +00:00
2015-06-17 10:22:04 +00:00
2015-06-17 10:22:04 +00:00
2015-06-17 10:22:04 +00:00
2015-05-29 11:28:54 +00:00
2015-05-27 15:18:29 +00:00
2015-05-29 11:28:33 +00:00
2015-06-17 10:22:04 +00:00
2015-05-21 19:32:46 +00:00
2015-06-17 10:22:04 +00:00
2015-06-17 10:22:04 +00:00
2015-05-21 19:32:46 +00:00
2015-06-17 10:22:04 +00:00
2015-06-17 10:22:04 +00:00
2015-05-29 11:28:20 +00:00
2015-05-27 15:34:30 +00:00
2015-06-17 10:22:04 +00:00
2015-06-17 10:22:04 +00:00
2015-05-21 19:32:46 +00:00
2015-03-28 13:20:52 +00:00
2015-05-28 12:25:45 +00:00