net: phy: at803x: drop specific PHY ID check from cable test functions
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 8 Dec 2023 14:52:00 +0000 (15:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2023 10:34:28 +0000 (10:34 +0000)
commitef9df47b449e32e06501a11272809be49019bdb6
treee43d54bc18b322a9fe8739cec18f81a4b8e4cce2
parent21a2802a8365cfa82cc02187c1f95136d85592ad
net: phy: at803x: drop specific PHY ID check from cable test functions

Drop specific PHY ID check for cable test functions for at803x. This is
done to make functions more generic. While at it better describe what
the functions does by using more symbolic function names.

PHYs that requires to set additional reg are moved to specific function
calling the more generic one.

cdt_start and cdt_wait_for_completion are changed to take an additional
arg to pass specific values specific to the PHY.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c