]> 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)
commit98053f80d21d9a545dc9b82ef1d6db06b4838106
tree1515ce106f957de150e6219ef71208febe9126e8
parent9689343f39227e0b0203a49ac5a0195313197405
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