Re: [PATCH] net: airoha: implement get_link_ksettings
From: Lorenzo Bianconi
Date: Tue Jan 13 2026 - 09:56:41 EST
> Implement the .get_link_ksettings to get the rate, duplex, and
> auto-negotiation status.
>
> Signed-off-by: Aleksander Jan Bajkowski <olek2@xxxxx>
> ---
> 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@xxxxxxxxxx>
Regards,
Lorenzo
>
> --
> 2.47.3
>
Attachment:
signature.asc
Description: PGP signature