sfc: Treat probe as unsuccessful if it scheduled a reset
commitfa402b2ea9cacd1ec94fa77e3efb506a5d034da6
authorSteve Hodgson <shodgson@solarflare.com>
Sat, 13 Dec 2008 06:08:16 +0000 (12 22:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Dec 2008 06:08:16 +0000 (12 22:08 -0800)
treeded41421f45edc98d40ce729d61bfea3d91e0d53
parentab377358701a981e7fae1332e76b1e5d3b3b313d
sfc: Treat probe as unsuccessful if it scheduled a reset

From: Steve Hodgson <shodgson@solarflare.com>

efx_pci_probe_main() can return success despite a reset being scheduled.
Catch this and retry or abort probe depending on the reset type.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/efx.c