[PATCH V4 RESEND net-next 7/7] net: hibmcge: Add nway_reset supported in this module

Jijie Shao posted 7 patches 1 year ago
There is a newer version of this series
[PATCH V4 RESEND net-next 7/7] net: hibmcge: Add nway_reset supported in this module
Posted by Jijie Shao 1 year ago
Add nway_reset supported in this module

Signed-off-by: Jijie Shao <shaojijie@huawei.com>
---
 drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c b/drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c
index 2622e66e65e4..a96e2a7f6f3e 100644
--- a/drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c
+++ b/drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c
@@ -189,6 +189,7 @@ static const struct ethtool_ops hbg_ethtool_ops = {
 	.get_pauseparam         = hbg_ethtool_get_pauseparam,
 	.set_pauseparam         = hbg_ethtool_set_pauseparam,
 	.reset			= hbg_ethtool_reset,
+	.nway_reset		= phy_ethtool_nway_reset,
 };
 
 void hbg_ethtool_set_ops(struct net_device *netdev)
-- 
2.33.0
Re: [PATCH V4 RESEND net-next 7/7] net: hibmcge: Add nway_reset supported in this module
Posted by Andrew Lunn 1 year ago
On Tue, Dec 03, 2024 at 11:01:31PM +0800, Jijie Shao wrote:
> Add nway_reset supported in this module
> 
> Signed-off-by: Jijie Shao <shaojijie@huawei.com>

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

    Andrew