diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-28 22:42:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 19:46:27 -0500 |
commit | ef2b90ee4dba7a3d9001f1f0003b860b39a4aaae (patch) | |
tree | 5eec233a05fab4fd0c79dc9c1eb6541d45cead53 /drivers/net/sfc/selftest.c | |
parent | 4b0d29dcfca9eafbf6e940862ab022df3ef2dd6f (diff) |
sfc: Move Falcon NIC operations to efx_nic_type
This is preparation for adding differing implementations for new NICs.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/selftest.c b/drivers/net/sfc/selftest.c index 74e84afd5b6b..15d4d9c81362 100644 --- a/drivers/net/sfc/selftest.c +++ b/drivers/net/sfc/selftest.c | |||
@@ -719,7 +719,7 @@ int efx_selftest(struct efx_nic *efx, struct efx_self_tests *tests, | |||
719 | rc_test = rc; | 719 | rc_test = rc; |
720 | 720 | ||
721 | /* reset the chip to recover from the register test */ | 721 | /* reset the chip to recover from the register test */ |
722 | rc_reset = falcon_reset_hw(efx, reset_method); | 722 | rc_reset = efx->type->reset(efx, reset_method); |
723 | 723 | ||
724 | /* Ensure that the phy is powered and out of loopback | 724 | /* Ensure that the phy is powered and out of loopback |
725 | * for the bist and loopback tests */ | 725 | * for the bist and loopback tests */ |