Ben Hutchings aed0628dae sfc: Fix ordering of device registration and initial netif_carrier_off()
We must call netif_carrier_off() after the device is registered, not
before, to set the operational state and user-space IFF_RUNNING flag
correctly.

Since we don't want observers to see an intermediate state, open-code
register_netdev() and add efx_update_name() and netif_carrier_off()
into the locked region.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-26 17:38:49 -07:00
..
2009-04-08 15:59:53 -07:00
2009-03-21 19:06:58 -07:00
2008-12-12 21:57:57 -08:00
2008-12-12 21:58:17 -08:00
2008-12-12 21:58:17 -08:00
2009-03-02 03:15:04 -08:00
2009-01-21 14:34:06 -08:00
2009-04-08 15:59:53 -07:00
2008-09-03 09:53:48 -04:00