Refreshed automatically with `make target/linux/refresh V=s`. Signed-off-by: Kenneth Kasilag <kenneth@kasilag.me> Link: https://github.com/openwrt/openwrt/pull/21019 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
27 lines
1016 B
Diff
27 lines
1016 B
Diff
From 50e194b6da721e4fa1fc6ebcf5969803c214929a Mon Sep 17 00:00:00 2001
|
|
From: Aleksander Jan Bajkowski <olek2@wp.pl>
|
|
Date: Sat, 10 Jan 2026 18:02:05 +0100
|
|
Subject: [PATCH] net: airoha: implement get_link_ksettings
|
|
|
|
Implement the .get_link_ksettings to get the rate, duplex, and
|
|
auto-negotiation status.
|
|
|
|
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
|
|
Tested-by: Lorenzo Bianconi <lorenzo@kernel.org>
|
|
Link: https://patch.msgid.link/20260110170212.570793-1-olek2@wp.pl
|
|
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
|
|
---
|
|
drivers/net/ethernet/airoha/airoha_eth.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/net/ethernet/airoha/airoha_eth.c
|
|
+++ b/drivers/net/ethernet/airoha/airoha_eth.c
|
|
@@ -2902,6 +2902,7 @@ static const struct ethtool_ops airoha_e
|
|
.get_drvinfo = airoha_ethtool_get_drvinfo,
|
|
.get_eth_mac_stats = airoha_ethtool_get_mac_stats,
|
|
.get_rmon_stats = airoha_ethtool_get_rmon_stats,
|
|
+ .get_link_ksettings = phy_ethtool_get_link_ksettings,
|
|
.get_link = ethtool_op_get_link,
|
|
};
|
|
|