aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/selftest.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-23 11:06:30 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-24 13:58:53 -0500
commiteb50c0d67fe3c5513c717c2dee6d9771c51be703 (patch)
tree449f56f6c8fac242be9ac57663ad98128524b404 /drivers/net/sfc/selftest.c
parente775fb93a880d218ce0b3fd405278dd78f86c405 (diff)
sfc: Gather link state fields in struct efx_nic into new struct efx_link_state
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/selftest.c')
-rw-r--r--drivers/net/sfc/selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/selftest.c b/drivers/net/sfc/selftest.c
index 7a9386f97c42..70eb5f135573 100644
--- a/drivers/net/sfc/selftest.c
+++ b/drivers/net/sfc/selftest.c
@@ -614,7 +614,7 @@ static int efx_test_loopbacks(struct efx_nic *efx, struct efx_self_tests *tests,
614 /* We need both the phy and xaui links to be ok. 614 /* We need both the phy and xaui links to be ok.
615 * rather than relying on the falcon_xmac irq/poll 615 * rather than relying on the falcon_xmac irq/poll
616 * regime, just poll xaui directly */ 616 * regime, just poll xaui directly */
617 link_up = efx->link_up; 617 link_up = efx->link_state.up;
618 if (link_up && EFX_IS10G(efx) && 618 if (link_up && EFX_IS10G(efx) &&
619 !falcon_xaui_link_ok(efx)) 619 !falcon_xaui_link_ok(efx))
620 link_up = false; 620 link_up = false;