[PATCH 8/9] net: ethernet: mtk_eth_soc: switch to external PCS driver

Bjørn Mork bjorn at mork.no
Fri Feb 3 01:25:38 PST 2023


Daniel Golle <daniel at makrotopia.org> writes:

> -		ss->pcs[i].ana_rgc3 = ana_rgc3;
> -		ss->pcs[i].regmap = syscon_node_to_regmap(np);
> -
> -		ss->pcs[i].flags = 0;
> +		flags = 0;
>  		if (of_property_read_bool(np, "pn_swap"))
> -			ss->pcs[i].flags |= MTK_SGMII_FLAG_PN_SWAP;
> +			flags |= MTK_SGMII_FLAG_PN_SWAP;
>  

patch 1 added "mediatek,pn_swap" so this doesn't apply.  We've all done
last minute cleanups - never a good idea :-)


Bjørn



More information about the Linux-mediatek mailing list