]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
net: hibmcge: Add nway_reset supported in this module
authorJijie Shao <shaojijie@huawei.com>
Mon, 16 Dec 2024 04:05:32 +0000 (12:05 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Dec 2024 04:01:39 +0000 (20:01 -0800)
Add nway_reset supported in this module

Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241216040532.1566229-8-shaojijie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hibmcge/hbg_ethtool.c

index 326228b7b801b5df4f5e48436600d5a747cc3e28..00364a438ec2ece56f6e12ff9b5d5211acb2d368 100644 (file)
@@ -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)