[PATCH net-next] net: bcmasp: Add support for re-starting auto-negotiation

Florian Fainelli posted 1 patch 2 months, 2 weeks ago
drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c | 1 +
1 file changed, 1 insertion(+)
[PATCH net-next] net: bcmasp: Add support for re-starting auto-negotiation
Posted by Florian Fainelli 2 months, 2 weeks ago
Wire-up ethtool_ops::nway_reset to phy_ethtool_nway_reset in order to
support re-starting auto-negotiation.

Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
---
 drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c b/drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c
index 4381a4cfd8c6..63f1a8c3a7fb 100644
--- a/drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c
+++ b/drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c
@@ -430,4 +430,5 @@ const struct ethtool_ops bcmasp_ethtool_ops = {
 	.get_ethtool_stats	= bcmasp_get_ethtool_stats,
 	.get_sset_count		= bcmasp_get_sset_count,
 	.get_ts_info		= ethtool_op_get_ts_info,
+	.nway_reset		= phy_ethtool_nway_reset,
 };
-- 
2.43.0
Re: [PATCH net-next] net: bcmasp: Add support for re-starting auto-negotiation
Posted by Andrew Lunn 2 months, 2 weeks ago
On Thu, Jul 17, 2025 at 11:09:15AM -0700, Florian Fainelli wrote:
> Wire-up ethtool_ops::nway_reset to phy_ethtool_nway_reset in order to
> support re-starting auto-negotiation.
> 
> Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew