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

Simple merge