[PATCH v1 8/8] net: dsa: do not wait for aneg is actually done on the port start
Oleksij Rempel
o.rempel at pengutronix.de
Mon Sep 26 01:17:40 PDT 2022
Aneg configuration should be done by the eth code, not dsa.
Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
---
drivers/net/dsa.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/net/dsa.c b/drivers/net/dsa.c
index 7a64a79412..040ba897e2 100644
--- a/drivers/net/dsa.c
+++ b/drivers/net/dsa.c
@@ -111,10 +111,6 @@ static int dsa_port_start(struct eth_device *edev)
dsa_port_set_ethaddr(edev);
- ret = phy_wait_aneg_done(dp->edev.phydev);
- if (ret)
- return ret;
-
if (ops->port_enable) {
ret = ops->port_enable(dp, dp->index, dp->edev.phydev);
if (ret)
--
2.30.2
More information about the barebox
mailing list