linux_old1/drivers/net/sfc
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
..
Kconfig sfc: Use generic MDIO functions and definitions 2009-04-29 17:32:30 -07:00
Makefile sfc: Add support for sub-10G speeds 2008-12-12 21:58:17 -08:00
bitfield.h net: replace uses of __constant_{endian} 2009-02-01 00:45:17 -08:00
boards.c sfc: Don't specify unexistent IRQ 2009-04-08 15:59:53 -07:00
boards.h sfc: Add support for SFN4112F SFP+ reference design 2009-03-02 03:15:07 -08:00
efx.c sfc: Fix ordering of device registration and initial netif_carrier_off() 2009-08-26 17:38:49 -07:00
efx.h sfc: Implement adaptive IRQ moderation 2009-03-21 19:06:58 -07:00
enum.h sfc: Add support for Solarflare 10Xpress SFT9001 2008-12-12 22:00:17 -08:00
ethtool.c sfc: Use generic MDIO flow control auto-negotiation functions 2009-04-29 17:32:37 -07:00
ethtool.h
falcon.c sfc: Use generic MDIO functions and definitions 2009-04-29 17:32:30 -07:00
falcon.h sfc: Implement adaptive IRQ moderation 2009-03-21 19:06:58 -07:00
falcon_gmac.c sfc: Rework MAC, PHY and board event handling 2008-12-12 21:59:24 -08:00
falcon_hwdefs.h sfc: Use generic MDIO functions and definitions 2009-04-29 17:32:30 -07:00
falcon_io.h sfc: Optimise falcon_writel_page_locked() for page > 0 2009-03-21 19:06:56 -07:00
falcon_xmac.c sfc: Use generic MDIO functions and definitions 2009-04-29 17:32:30 -07:00
gmii.h sfc: Remove MII extension cruft 2008-12-12 21:57:57 -08:00
mac.h sfc: Add support for sub-10G speeds 2008-12-12 21:58:17 -08:00
mdio_10g.c sfc: Use generic MDIO flow control auto-negotiation functions 2009-04-29 17:32:37 -07:00
mdio_10g.h sfc: Use generic MDIO flow control auto-negotiation functions 2009-04-29 17:32:37 -07:00
mtd.c drivers/net/sfc: fix sparse warnings: Should it be static? 2009-02-18 17:49:50 -08:00
net_driver.h sfc: Use generic MDIO flow control auto-negotiation functions 2009-04-29 17:32:37 -07:00
phy.h sfc: Add support for QT2025C PHY 2009-03-02 03:15:04 -08:00
rx.c gro: New frags interface to avoid copying shinfo 2009-04-16 02:02:07 -07:00
rx.h sfc: Replace LRO with GRO 2009-01-21 14:34:06 -08:00
selftest.c net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
selftest.h sfc: Use generic MDIO functions and definitions 2009-04-29 17:32:30 -07:00
sfe4001.c sfc: Don't specify unexistent IRQ 2009-04-08 15:59:53 -07:00
spi.h sfc: Clean up waits for flash/EEPROM operations 2008-12-12 21:57:35 -08:00
tenxpress.c sfc: Expose 100/1000BASE-T MDI-X status via ethtool 2009-06-11 02:47:11 -07:00
tx.c net: dont update dev->trans_start in 10GB drivers 2009-05-29 01:46:26 -07:00
tx.h sfc: Remove some unreachable error paths 2008-09-03 09:53:48 -04:00
workarounds.h sfc: Pad packets to 33 bytes to prevent TX packet parser lockup 2009-03-21 19:06:55 -07:00
xfp_phy.c sfc: Use generic XENPAK register definitions 2009-05-17 21:03:43 -07:00