> Yes, but with the caveat already covered today: there is a possible > problem with having to divert MDIO accesses of a PHY pointed by > phy-handle towards the internal switch bus because of specific problems > such as those explained in drivers/net/bcm_sf2.c, I don't mind trying to > do things smarter or in a different way, but that needs to be something > possible.
Hi Florian Are you referring to: /* Include the pseudo-PHY address to divert reads towards our * workaround. This is only required for 7445D0, since 7445E0 * disconnects the internal switch pseudo-PHY such that we can use the * regular SWITCH_MDIO master controller instead. * * Here we flag the pseudo PHY as needing special treatment and would * otherwise make all other PHY read/writes go to the master MDIO bus * controller that comes with this switch backed by the "mdio-unimac" * driver. */ ? Do you have an example device tree fragment, just to make it clearer? Thanks Andrew