]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Provide unique DSA slave MII bus names
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 7 Jun 2016 23:32:38 +0000 (16:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jun 2016 18:23:41 +0000 (11:23 -0700)
commitc12f9de7f77f61ac312010b1f9a0aa13b86331f6
tree1515ce106f957de150e6219ef71208febe9126e8
parent94c6ce8aa50fc643016d646db4b9cf74c73e49f5
net: dsa: Provide unique DSA slave MII bus names

In case we have multiples trees and switches with the same index, we
need to add another discriminating id: the switch tree.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c