]> git.baikalelectronics.ru Git - kernel.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)
commit515786a024b86e6df94738cfc022532ac43f20ee
treed0c7b0a69ca579749a4ee6a2d252d24969b68201
parent22a2330cb2344962d676d7b4b901f674a7c00520
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