ar71xx: rb91x: fix ethernet packet loss issues
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Apr 2014 20:41:52 +0000 (20:41 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Apr 2014 20:41:52 +0000 (20:41 +0000)
commit040067669fa6cae8b77cf5642f2d66eb1e638e9c
treeab8f4c56f97d5998d9929854605b564a28960faa
parentf72a16ed4bf74f69be2bb2b60236520eeb5516af
ar71xx: rb91x: fix ethernet packet loss issues

The RB91x boards are suffering from ethernet packet loss after a cold
boot. The cause of the problem is that the AR8035 PHYs requires special
register settings to work reliably on these boards.

Enable the RGMII TX, RX delays and disable SmartEE functionality of
the AR8035 PHYs. Also enable the RXD delay in the ETH_CFG register
to fix the issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40509 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c