Re: [PATCH net-next 3/9] net: dsa: Provide unique DSA slave MII bus names

2016-06-06 Thread Vivien Didelot
Florian Fainelli writes: > In case we have multiples trees and switches with the same index, we > need to add another discriminating id: the switch tree. > > Signed-off-by: Florian Fainelli Reviewed-by: Vivien Didelot

Re: [PATCH net-next 3/9] net: dsa: Provide unique DSA slave MII bus names

2016-06-04 Thread Andrew Lunn
On Fri, Jun 03, 2016 at 05:05:25PM -0700, Florian Fainelli wrote: > In case we have multiples trees and switches with the same index, we > need to add another discriminating id: the switch tree. > > Signed-off-by: Florian Fainelli Reviewed-by: Andrew Lunn Andrew

[PATCH net-next 3/9] net: dsa: Provide unique DSA slave MII bus names

2016-06-03 Thread Florian Fainelli
In case we have multiples trees and switches with the same index, we need to add another discriminating id: the switch tree. Signed-off-by: Florian Fainelli --- net/dsa/slave.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/dsa/slave.c b/net/dsa/slave.c index 15a492261