openwrtv3/target/linux/ar71xx
Gabor Juhos 5d77f370d6 ar71xx: ag71xx: make switch register access atomic
Reading of the PHY registers occasionally returns with bogus values
under heavy load. This misleads the PHY driver and thus causes false
link/speed change notifications which leads to performance loss.

This is easily noticable during an iperf session:

...
[  3] 52.0-53.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 53.0-54.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link down
br-lan: port 2(eth1) entering forwarding state
eth1: link up (100Mbps/Full duplex)
br-lan: port 2(eth1) entering forwarding state
br-lan: port 2(eth1) entering forwarding state
[  3] 54.0-55.0 sec  6.75 MBytes  56.6 Mbits/sec
[  3] 55.0-56.0 sec  0.00 Bytes  0.00 bits/sec
[  3] 56.0-57.0 sec  10.5 MBytes  88.1 Mbits/sec
...
[  3] 169.0-170.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 170.0-171.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link up (10Mbps/Half duplex)
[  3] 171.0-172.0 sec  7.63 MBytes  64.0 Mbits/sec
[  3] 172.0-173.0 sec  9.38 MBytes  78.6 Mbits/sec
eth1: link up (100Mbps/Full duplex)
[  3] 173.0-174.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 174.0-175.0 sec  11.4 MBytes  95.4 Mbits/sec

SVN-Revision: 26856
2011-05-08 16:32:53 +00:00
..
base-files ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config 2011-04-28 21:27:42 +00:00
files ar71xx: ag71xx: make switch register access atomic 2011-05-08 16:32:53 +00:00
generic ar71xx: replace the madwifi profile with an ath5k profile 2011-04-12 21:10:45 +00:00
image ar71xx: don't hardcode console parameters in kernel config 2011-04-12 13:14:53 +00:00
nand linux/ar71xx: add some missing symbols for nand/yaffs targets 2011-05-05 07:19:46 +00:00
patches-2.6.37 kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
patches-2.6.38 linux/ar71xx: add 2.6.38 preliminary support 2011-04-21 11:45:23 +00:00
base-files.mk defconfig: remove network config installed by base-files so defconfig can work 2009-02-26 05:54:46 +00:00
config-2.6.37 ar71xx: enable the ip17xx PHY driver (fixes #5193, #8027) 2011-04-14 23:51:12 +00:00
config-2.6.38 linux/ar71xx: add 2.6.38 preliminary support 2011-04-21 11:45:23 +00:00
Makefile ar71xx: use the gpio_keys_polled driver instead of gpio_buttons 2011-04-12 09:29:21 +00:00