summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/qt202x_phy.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-23 17:04:23 +0100
committerDavid S. Miller <davem@davemloft.net>2009-11-24 19:58:40 +0100
commit981fc1b4b8cc6bfe8c6f0c07052e25738d959c68 (patch)
treeb55aa171ae37e4eff14b6750f61f667a213b518e /drivers/net/sfc/qt202x_phy.c
parentsfc: Use a single blink implementation (diff)
downloadlinux-981fc1b4b8cc6bfe8c6f0c07052e25738d959c68.tar.xz
linux-981fc1b4b8cc6bfe8c6f0c07052e25738d959c68.zip
sfc: Rename efx_board::init_leds to init_phy and use for SFN4111T
efx_board::init_leds was introduced as a second stage of initialisation because of the inter-dependency between the board and PHY. We want to move board initialisation into NIC probing, which is too early to use MDIO, so SFN4111T initialisation also needs to be split. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/qt202x_phy.c')
-rw-r--r--drivers/net/sfc/qt202x_phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/qt202x_phy.c b/drivers/net/sfc/qt202x_phy.c
index 05c0f9acedbd..f26684fc8caf 100644
--- a/drivers/net/sfc/qt202x_phy.c
+++ b/drivers/net/sfc/qt202x_phy.c
@@ -126,7 +126,7 @@ static int qt202x_reset_phy(struct efx_nic *efx)
if (rc < 0)
goto fail;
- efx->board_info.init_leds(efx);
+ efx->board_info.init_phy(efx);
return rc;