[PATCH] net: airoha: implement get_link_ksettings
Lorenzo Bianconi
lorenzo at kernel.org
Tue Jan 13 06:56:38 PST 2026
> Implement the .get_link_ksettings to get the rate, duplex, and
> auto-negotiation status.
>
> Signed-off-by: Aleksander Jan Bajkowski <olek2 at wp.pl>
> ---
> drivers/net/ethernet/airoha/airoha_eth.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/airoha/airoha_eth.c b/drivers/net/ethernet/airoha/airoha_eth.c
> index 315d97036ac1..00cae2833f09 100644
> --- a/drivers/net/ethernet/airoha/airoha_eth.c
> +++ b/drivers/net/ethernet/airoha/airoha_eth.c
> @@ -2803,6 +2803,7 @@ static const struct ethtool_ops airoha_ethtool_ops = {
> .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,
> };
Tested-by: Lorenzo Bianconi <lorenzo at kernel.org>
Regards,
Lorenzo
>
> --
> 2.47.3
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260113/8111aaf4/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list