]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commit115122afc5e34499a0edfd2b057e9c352fa7c78f
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