]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: Configure TDR pulse based on measurement length
authorAndrew Lunn <andrew@lunn.ch>
Tue, 26 May 2020 22:21:43 +0000 (00:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 06:22:21 +0000 (23:22 -0700)
commite56b70dfb7d9b6f0a996540de1b6a5bd86889f5a
treee4625ef1517d3706e3cec3e7f12f5aad32c258ca
parent5791490f9fab733affdf4a3c14fa3a1ea287a206
net: phy: marvell: Configure TDR pulse based on measurement length

When performing a TDR measurement for a short distance, the pulse
width should be low, to help differentiate between the outgoing pulse
and any reflection. For longer distances, the pulse should be wider,
to help with attenuation.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c