Thread (47 messages) 47 messages, 4 authors, 2016-03-14

Re: [PATCH RFC v2 00/32] Make DSA switches linux devices.

From: Vivien Didelot <hidden>
Date: 2016-03-13 07:26:14

Hi Andrew, Florian,

Andrew Lunn [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help