]> git.baikalelectronics.ru Git - uboot.git/commit
net: phy: Add PHY_RTL8211E_PINE64_GIGABIT_FIX for realtek phys
authorkevans@FreeBSD.org <kevans@FreeBSD.org>
Wed, 14 Feb 2018 23:02:15 +0000 (17:02 -0600)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 22 Mar 2018 20:05:27 +0000 (15:05 -0500)
commit2342c8637a8b64af794d8181341c489cfb54caa7
treec37d3a1d4fd93dbe5f35d6a0f357ca127f12531e
parentbd9479dff105f019685da9c59b7d0dbf868f5c62
net: phy: Add PHY_RTL8211E_PINE64_GIGABIT_FIX for realtek phys

Setting PHY_RTL8211E_PINE64_GIGABIT_FIX forces internal rx/tx delays off
on the PHY, as well as flipping some magical undocumented bits. The
magic number comes from the Pine64 engineering team, presumably as a
proxy from Realtek. This configuration fixes the throughput on some
Pine64 models. Packet loss of up to 60-70% has been observed without
this.

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/Kconfig
drivers/net/phy/realtek.c