Re: [PATCH net] net: dsa: Fix network device registration order

2017-09-28 Thread David Miller
From: Florian Fainelli Date: Mon, 25 Sep 2017 15:55:53 -0700 > We cannot be registering the network device first, then setting its > carrier off and finally connecting it to a PHY, doing that leaves a > window during which the carrier is at best inconsistent, and at worse >

[PATCH net] net: dsa: Fix network device registration order

2017-09-25 Thread Florian Fainelli
We cannot be registering the network device first, then setting its carrier off and finally connecting it to a PHY, doing that leaves a window during which the carrier is at best inconsistent, and at worse the device is not usable without a down/up sequence since the network device is visible to