* [PATCH net-next] net: phy: at803x: add MDIX support to AR8031/33
@ 2021-02-14 1:17 Michael Walle
0 siblings, 0 replies; only message in thread
From: Michael Walle @ 2021-02-14 1:17 UTC (permalink / raw)
To: netdev, linux-kernel
Cc: Andrew Lunn, Heiner Kallweit, Russell King, David S . Miller,
Jakub Kicinski, Michael Walle
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>
---
drivers/net/phy/at803x.c | 1 +
1 file changed, 1 insertion(+)
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,
--
2.20.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-14 1:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-14 1:17 [PATCH net-next] net: phy: at803x: add MDIX support to AR8031/33 Michael Walle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).