[PATCH net-next v4 7/7] net: axienet: Split into MAC and MDIO drivers

Andrew Lunn andrew at lunn.ch
Tue Aug 5 14:40:57 PDT 2025


> Fixes: 1a02556086fc ("net: axienet: Properly handle PCS/PMA PHY for 1000BaseX mode")

If this is for net-next, please don't have a Fixes: tag.

>  struct axienet_common {
>  	struct platform_device *pdev;
> +	struct auxiliary_device mac;
>  
>  	struct clk *axi_clk;
>  
>  	struct mutex reset_lock;
> -	struct mii_bus *mii_bus;
> +	struct auxiliary_device mii_bus;

Keeping the name mii_bus for something which is not an struct mii_bus
is going to cause confusion. Please give it a different name.

This is another patch which needs splitting up.

   Andrew



More information about the linux-arm-kernel mailing list