commit | ff3b00a0fcaab89ff885e9f0f4ad83c4ced788f4 | [log] [tgz] |
---|---|---|
author | Steve Hodgson <shodgson@solarflare.com> | Wed Dec 23 13:46:36 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 23 19:09:04 2009 -0800 |
tree | a9bede7f0b4552a00add40bdfb21f3f9e5c4e9b7 | |
parent | ed4b2019a62e2208a8370461dd91ed4de2c9fc8f [diff] |
sfc: Move PHY software state initialisation from init() into probe() This prevents efx->link_advertising from being blatted during a reset. The phy_short_reach sysfs node is now destroyed later in the port shutdown process, so check for STATE_RUNNING after acquiring the rtnl_lock (just like in set_phy_flash_cfg). Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>