From: Steve Hodgson Date: Wed, 23 Dec 2009 13:46:36 +0000 (+0000) Subject: sfc: Move PHY software state initialisation from init() into probe() X-Git-Tag: v2.6.33-rc3~44^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff3b00a0fcaab89ff885e9f0f4ad83c4ced788f4;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed