sfc: Clean up properly on reset failure paths
commit115122afc5e34499a0edfd2b057e9c352fa7c78f
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 4 Mar 2009 09:52:52 +0000 (4 09:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2009 01:40:22 +0000 (4 17:40 -0800)
treed0c7b0a69ca579749a4ee6a2d252d24969b68201
parenta7ef59332b33cb1924ea76cce2aa620a32bb0d7a
sfc: Clean up properly on reset failure paths

If MAC switching fails, stop the port properly.

If PHY reinitialisation fails, clear the port_initialized flag.

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