]> 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)
commit14a928f21ac2fa67659d42ca799fc1df1e37256c
treee4625ef1517d3706e3cec3e7f12f5aad32c258ca
parente98f0bf1b9850c746fc2b63c594a12e4b5bcf3fe
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