]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: at803x: add support for cdt cross short test for qca808x
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 4 Jan 2024 21:30:40 +0000 (22:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Jan 2024 16:23:22 +0000 (16:23 +0000)
commitea73e5ea442ee2aade67b1fb1233ccb3cbea2ceb
tree64bf60f13f56fb3656f3aa4fdf8bbda6c90125e7
parente0e9ada1df6133513249861c1d91c1dbefd9383b
net: phy: at803x: add support for cdt cross short test for qca808x

QCA808x PHY Family supports Cable Diagnostic Test also for Cross Pair
Short.

Add all the define to make enable and support these additional tests.

Cross Short test was previously disabled by default, this is now changed
and enabled by default. In this mode, the mask changed a bit and length
is shifted based on the fault condition.

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