linux/drivers/net/sfc
Ben Hutchings 7dde596ef7 sfc: Fix synchronisation of efx_mtd_{probe,rename,remove}
Currently efx_mtd_rename() can race with the probe() and remove()
functions.

Move probe() before device registration and remove() after
unregistration.  Move initialisation/update of all names based on the
netdev name into a new function and call it under the RTNL immediately
after registration.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-12 22:09:38 -08:00
..
bitfield.h sfc: Extend self-tests 2008-09-03 09:53:48 -04:00
boards.c sfc: Add support for SFN4111T 2008-12-12 22:00:49 -08:00
boards.h sfc: Add support for SFN4111T 2008-12-12 22:00:49 -08:00
efx.c sfc: Fix synchronisation of efx_mtd_{probe,rename,remove} 2008-12-12 22:09:38 -08:00
efx.h sfc: Expose flash region storing boot code as MTD 2008-11-06 00:49:57 -05:00
enum.h sfc: Add support for Solarflare 10Xpress SFT9001 2008-12-12 22:00:17 -08:00
ethtool.c sfc: Use mutex_lock_interruptible() for ethtool EEPROM access 2008-12-12 22:06:24 -08:00
ethtool.h New driver "sfc" for Solarstorm SFC4000 controller. 2008-04-29 01:42:43 -04:00
falcon_gmac.c sfc: Rework MAC, PHY and board event handling 2008-12-12 21:59:24 -08:00
falcon_hwdefs.h sfc: Add support for SFN4111T 2008-12-12 22:00:49 -08:00
falcon_io.h sfc: Don't include net_driver.h from falcon_io.h 2008-09-24 18:54:38 -04:00
falcon_xmac.c sfc: Rework MAC, PHY and board event handling 2008-12-12 21:59:24 -08:00
falcon.c sfc: Use kzalloc() to ensure struct efx_spi_device is fully initialised 2008-12-12 22:08:50 -08:00
falcon.h sfc: Add support for sub-10G speeds 2008-12-12 21:58:17 -08:00
gmii.h sfc: Remove MII extension cruft 2008-12-12 21:57:57 -08:00
Kconfig sfc: Fix dependency for SFC_MTD 2008-11-20 04:17:42 -08:00
mac.h sfc: Add support for sub-10G speeds 2008-12-12 21:58:17 -08:00
Makefile sfc: Add support for sub-10G speeds 2008-12-12 21:58:17 -08:00
mdio_10g.c sfc: Implement auto-negotiation 2008-12-12 21:58:17 -08:00
mdio_10g.h sfc: Add support for Solarflare 10Xpress SFT9001 2008-12-12 22:00:17 -08:00
mtd.c sfc: Clean up waits for flash/EEPROM operations 2008-12-12 21:57:35 -08:00
net_driver.h sfc: Use model numbers for PHY type names 2008-12-12 22:06:54 -08:00
phy.h sfc: Add support for Solarflare 10Xpress SFT9001 2008-12-12 22:00:17 -08:00
rx.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
rx.h sfc: Remove some unreachable error paths 2008-09-03 09:53:48 -04:00
selftest.c sfc: Add support for SFN4111T 2008-12-12 22:00:49 -08:00
selftest.h sfc: Add support for sub-10G speeds 2008-12-12 21:58:17 -08:00
sfe4001.c sfc: Add support for SFN4111T 2008-12-12 22:00:49 -08:00
spi.h sfc: Clean up waits for flash/EEPROM operations 2008-12-12 21:57:35 -08:00
tenxpress.c sfc: Add support for Solarflare 10Xpress SFT9001 2008-12-12 22:00:17 -08:00
tx.c sfc: Use CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS where appropriate 2008-09-24 18:54:42 -04:00
tx.h sfc: Remove some unreachable error paths 2008-09-03 09:53:48 -04:00
workarounds.h sfc: Add support for SFN4111T 2008-12-12 22:00:49 -08:00
xenpack.h New driver "sfc" for Solarstorm SFC4000 controller. 2008-04-29 01:42:43 -04:00
xfp_phy.c sfc: Use model numbers for PHY type names 2008-12-12 22:06:54 -08:00