sfc: Reinitialise the PHY completely in case of a PHY or NIC reset
authorSteve Hodgson <shodgson@solarflare.com>
Thu, 29 Jan 2009 17:50:51 +0000 (17:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Jan 2009 22:06:30 +0000 (14:06 -0800)
commit4b988280be13a1b4c17f51cc66948aef467e7601
treeb8a0bd4e96520461caeaeeea2f91aa64d6c32bdd
parent0cc128387969753ae037401eb49e4bbb474186ea
sfc: Reinitialise the PHY completely in case of a PHY or NIC reset

In particular, set pause advertising bits properly.

A PHY reset is not necessary to recover from the register self-test,
so use a "invisible" reset there instead.

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