Re: [RFC PATCH net-next 15/24] dsa: Register netdev before phy

2016-01-04 Thread Florian Fainelli
On 04/01/16 09:36, Andrew Lunn wrote: > When the phy is connected, an info message is printed. If the netdev > it is attached to has not been registered yet, the name > 'uninitialised' in the output. By registering the netdev first, then > connecting they phy, we can avoid this. > > Signed-off-by:

[RFC PATCH net-next 15/24] dsa: Register netdev before phy

2016-01-04 Thread Andrew Lunn
When the phy is connected, an info message is printed. If the netdev it is attached to has not been registered yet, the name 'uninitialised' in the output. By registering the netdev first, then connecting they phy, we can avoid this. Signed-off-by: Andrew Lunn --- net/dsa/slave.c | 14 +++---