[PATCH net-next] net: ethernet: mediatek: add ethtool EEE callbacks

Qingfang Deng dqfext at gmail.com
Sat Feb 8 02:14:07 PST 2025


On Sat, Feb 8, 2025 at 5:55 PM Russell King (Oracle)
<linux at armlinux.org.uk> wrote:
> Doesn't it need a bit more code to configure the MAC?

I think you're right. The MT7622 reference manual does not mention the
EEE configuration register so I assumed it would be automatically
enabled.
I just checked the mtk_eth_soc.h and found two unused defs
"MAC_MSR_EEE1G" and "MAC_MSR_EEE100M". I will use those to enable EEE.

>
> --
> RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!



More information about the linux-arm-kernel mailing list