linux/drivers/net/sfc
Ben Hutchings a7d529ae21 sfc: Allow resets to be upgraded; use atomic ops for safety
Currently an attempt to schedule any reset is ignored if a reset
is already pending.  This ignores the relative scopes - if the
requested reset is greater in scope then the scheduled reset should
be upgraded accordingly.

There are also some race conditions which could lead to a reset
request being lost.  Deal with them by using atomic operations on a
bitmask.  This also makes tests on reset_pending easier to get right.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2011-06-25 00:43:48 +01:00
..
bitfield.h
efx.c sfc: Allow resets to be upgraded; use atomic ops for safety 2011-06-25 00:43:48 +01:00
efx.h sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
enum.h sfc: Allow resets to be upgraded; use atomic ops for safety 2011-06-25 00:43:48 +01:00
ethtool.c sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
falcon.c sfc: Allow resets to be upgraded; use atomic ops for safety 2011-06-25 00:43:48 +01:00
falcon_boards.c sfc: Update copyright dates 2011-02-28 23:57:24 +00:00
falcon_xmac.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
filter.c sfc: Fix loop condition for efx_filter_search() when !for_insert 2011-06-25 00:43:48 +01:00
filter.h sfc: Generalise filter spec initialisation 2010-12-07 19:11:26 +00:00
io.h sfc: Use rmb() to ensure reads occur in order 2011-04-12 23:52:44 +01:00
Kconfig
mac.h sfc: make function tables const 2011-04-14 21:53:42 -07:00
Makefile sfc: Add support for SFE4003 board and TXC43128 PHY 2010-09-22 13:26:45 -07:00
mcdi.c sfc: Always map MCDI shared memory as uncacheable 2011-05-12 15:16:32 +01:00
mcdi.h sfc: Update copyright dates 2011-02-28 23:57:24 +00:00
mcdi_mac.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
mcdi_pcol.h Fix common misspellings 2011-03-31 11:26:23 -03:00
mcdi_phy.c ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
mdio_10g.c sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
mdio_10g.h sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
mtd.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
net_driver.h sfc: Allow resets to be upgraded; use atomic ops for safety 2011-06-25 00:43:48 +01:00
nic.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
nic.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-05-17 17:33:11 -04:00
phy.h sfc: make function tables const 2011-04-14 21:53:42 -07:00
qt202x_phy.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
regs.h sfc: Update copyright dates 2011-02-28 23:57:24 +00:00
rx.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
selftest.c sfc: Use netif_device_{detach,attach}() around reset and self-test 2011-05-16 23:34:28 +01:00
selftest.h sfc: Update copyright dates 2011-02-28 23:57:24 +00:00
siena.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
spi.h sfc: Update copyright dates 2011-02-28 23:57:24 +00:00
tenxpress.c ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
tx.c sfc: Use netif_device_{detach,attach}() around reset and self-test 2011-05-16 23:34:28 +01:00
txc43128_phy.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
workarounds.h sfc: Siena: Disable write-combining when SR-IOV is enabled 2011-03-23 01:35:15 +00:00