
24 Jan
2019
24 Jan
'19
9:19 p.m.
On 24/01/2019 20:12, Vladimir Oltean wrote:
I still think I haven't successfully made my point. If "mdio read 3.1" is a C45-only thing, "mdio read 1" is a C22-only thing, then why do you need a new command "mdio rmmd 3.1" to do C45 emulation over C22? Is there any overlap I'm missing that mandates a new syntax to differentiate? Can the command not simply see whether the PHY is C22, and if it is and the MMD address is non-zero, just emulate it via 0xd and 0xe writes?
Ok, I got your point now. I didn't give much thought on this TBH, good question.
Do we currently have a way in U-Boot to differentiate between C22 and C45 PHYs? The generic_10g PHY should be C45 but is that the only one currently supported?
-- Carlo Caione