ar71xx: rb91x: fix pll_1000 value for eth0 to avoid packet loss
authorGabor Juhos <juhosg@openwrt.org>
Thu, 20 Feb 2014 17:07:56 +0000 (17:07 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 20 Feb 2014 17:07:56 +0000 (17:07 +0000)
commit4e0309630b871ecaf9e247b479c4a4ef3f9667f8
treeb6a7a4b397f6e8764d606c70ee16cd5e90009d87
parentd19b868b12a3d76addbf0d16a854f2d5976f7608
ar71xx: rb91x: fix pll_1000 value for eth0 to avoid packet loss

When the RB91x device uses a GbE link the connection
suffers from packet loss:

  root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 20 -q
  PING 192.168.1.254 (192.168.1.254): 65507 data bytes

  --- 192.168.1.254 ping statistics ---
  20 packets transmitted, 9 packets received, 55% packet loss
  round-trip min/avg/max = 4.570/4.815/4.999 ms

Using a different PLL value fixes the issue.

  root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 100 -q
  PING 192.168.1.254 (192.168.1.254): 65507 data bytes

  --- 192.168.1.254 ping statistics ---
  100 packets transmitted, 100 packets received, 0% packet loss
  round-trip min/avg/max = 4.449/5.413/13.870 ms

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39642
target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c