ar71xx: fix 100/10mbps ethernet link issues on mynet range extender
authorFelix Fietkau <nbd@openwrt.org>
Sun, 14 Jun 2015 17:41:01 +0000 (17:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 14 Jun 2015 17:41:01 +0000 (17:41 +0000)
commited6ccd95be5f570d638c611f1128a4bfe4a64290
treebcff0db2eaf17655afb689978181fcf7133b6988
parentf3f4e858a8eb5b9b5ebcb90431ef476a3f0e96cd
ar71xx: fix 100/10mbps ethernet link issues on mynet range extender

The mynet range extender hardware is suffering from ethernet
link loss when booting with a recent openwrt image. This only
happens on 100mbps links, with 1Gbps speed the link was fine.

The cause of the problem is that the AR8035 PHY (aka F1E)
requires turning on and off the special TX delay setting
depending on the speed of the link.

The 10mbps mode only needed the proper pll value, which was
extracted from the vendor code.

Reported-by: Pascal Paradis
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
SVN-Revision: 45954
target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-rext.c
target/linux/ar71xx/patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch