OSDN Git Service

net: phy: microchip_t1: add cable test support for lan87xx phy
authorYuiko Oshino <yuiko.oshino@microchip.com>
Wed, 27 Oct 2021 18:20:51 +0000 (14:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2021 13:43:45 +0000 (14:43 +0100)
commit788050256c41136057c55ce289dd6740e96b2872
treee241c81c0fd316298057bcb6c777b349915ef401
parent11195bf5a355a5ef048e690f12b90b70b2c42a86
net: phy: microchip_t1: add cable test support for lan87xx phy

Add a basic cable test (diagnostic) support for lan87xx phy.
Tested with LAN8770 for connected/open/short wires using ethtool.

Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/microchip_t1.c