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)
commitdb8668a1951954156c039b9f8fe2881d428a522c
treee4625ef1517d3706e3cec3e7f12f5aad32c258ca
parenta618e86da91d259374caff065cc557899dc181ce
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