[PATCH RFC net-next 2/4] net: mtk_eth_soc: move trgmii ddr2 check to probe function

Simon Horman simon.horman at corigine.com
Sat Feb 25 08:47:19 PST 2023


On Fri, Feb 24, 2023 at 12:36:16PM +0000, Russell King (Oracle) wrote:
> If TRGMII mode is not permitted when using DDR2 mode, we should handle
> that when setting up phylink's ->supported_interfaces so phylink knows
> that this is not supported by the hardware. Move this check to
> mtk_add_mac().
> 
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>

Reviewed-by: Simon Horman <simon.horman at corigine.com>




More information about the linux-arm-kernel mailing list