Hi Andrew, Florian, Andrew Lunn <and...@lunn.ch> writes:
> It probably means we need to turn slave.c and parts of dsa.c into a > library. Add a new dsa_v2.c file, containing the new binding > code. With things like having the switch devices instantiate there own > MDIO bus, fixed phys on a compatible MDIO bus referenced via phandles, > etc, I hope we can make parts of the dsa_v2 simpler. Nothing critical here, but as we are talking about better isolation of the DSA slave code, wouldn't it be the good moment to make it a dsa_switch driver, instead of a library? This code is actually pretty generic, and for example home routers could register an instance of such module. Thanks, -v