diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-12-26 16:47:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 16:47:04 -0500 |
commit | 2ef3068e6c40ec44d27f6f8027616e284d1b0466 (patch) | |
tree | f4aaf6d442f7dbbe64a7744c111707680893862b /drivers/net/sfc/selftest.h | |
parent | a5692e49cd9e6512c48ebf61e52991cbe643c12d (diff) |
sfc: Merge top-level functions for self-tests
Pass in ethtool test flags to determine which tests to run.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/selftest.h')
-rw-r--r-- | drivers/net/sfc/selftest.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/sfc/selftest.h b/drivers/net/sfc/selftest.h index 252f7d717242..97d6acc11ad3 100644 --- a/drivers/net/sfc/selftest.h +++ b/drivers/net/sfc/selftest.h | |||
@@ -44,10 +44,8 @@ struct efx_self_tests { | |||
44 | 44 | ||
45 | extern void efx_loopback_rx_packet(struct efx_nic *efx, | 45 | extern void efx_loopback_rx_packet(struct efx_nic *efx, |
46 | const char *buf_ptr, int pkt_len); | 46 | const char *buf_ptr, int pkt_len); |
47 | extern int efx_online_test(struct efx_nic *efx, | 47 | extern int efx_selftest(struct efx_nic *efx, |
48 | struct efx_self_tests *tests); | 48 | struct efx_self_tests *tests, |
49 | extern int efx_offline_test(struct efx_nic *efx, | 49 | unsigned flags); |
50 | struct efx_self_tests *tests, | ||
51 | unsigned int loopback_modes); | ||
52 | 50 | ||
53 | #endif /* EFX_SELFTEST_H */ | 51 | #endif /* EFX_SELFTEST_H */ |