summary refs log tree commit diff
path: root/drivers
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2021-02-14 02:17:11 +0100
committerDavid S. Miller <davem@davemloft.net>2021-02-15 15:20:00 -0800
commit63477a5d4c59a9272ee7217570b123b223cf7889 (patch)
treee644cddac2bff4dfc70177ad5cd901302b78e390 /drivers
parent4a408a8adddd4c0a65d39ac87f95829c67e93cc1 (diff)
downloadlinux-63477a5d4c59a9272ee7217570b123b223cf7889.tar.gz
net: phy: at803x: add MDIX support to AR8031/33
AR8035 recently gained MDIX support. The same functions will work for
the AR8031/33 PHY. We just need to add the at803x_config_aneg()
callback.

This was tested on a Kontron sl28 board.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/phy/at803x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
index d67bddc111e3..c2aa4c92edde 100644
--- a/drivers/net/phy/at803x.c
+++ b/drivers/net/phy/at803x.c
@@ -1190,6 +1190,7 @@ static struct phy_driver at803x_driver[] = {
 	.probe			= at803x_probe,
 	.remove			= at803x_remove,
 	.config_init		= at803x_config_init,
+	.config_aneg		= at803x_config_aneg,
 	.soft_reset		= genphy_soft_reset,
 	.set_wol		= at803x_set_wol,
 	.get_wol		= at803x_get_wol,