diff options
| author | Andrew Lunn <andrew@lunn.ch> | 2016-01-06 20:11:20 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-01-07 14:31:26 -0500 |
| commit | 0071f56e46dadb88dc3ad1f8d9cf9c3ae014735d (patch) | |
| tree | 2cd405f123e3b39a85e50d015676c48d316a447e /net/switchdev/switchdev.c | |
| parent | phy_device: Move phy attributes into phy_device (diff) | |
| download | linux-0071f56e46dadb88dc3ad1f8d9cf9c3ae014735d.tar.gz linux-0071f56e46dadb88dc3ad1f8d9cf9c3ae014735d.zip | |
dsa: Register netdev before phy
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 <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
