diff options
Diffstat (limited to 'drivers/net/ethernet/sfc/selftest.h')
-rw-r--r-- | drivers/net/ethernet/sfc/selftest.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/net/ethernet/sfc/selftest.h b/drivers/net/ethernet/sfc/selftest.h index 87698ae0bf75..a2f4a06ffa4e 100644 --- a/drivers/net/ethernet/sfc/selftest.h +++ b/drivers/net/ethernet/sfc/selftest.h | |||
@@ -43,13 +43,12 @@ struct efx_self_tests { | |||
43 | struct efx_loopback_self_tests loopback[LOOPBACK_TEST_MAX + 1]; | 43 | struct efx_loopback_self_tests loopback[LOOPBACK_TEST_MAX + 1]; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | extern void efx_loopback_rx_packet(struct efx_nic *efx, | 46 | void efx_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr, |
47 | const char *buf_ptr, int pkt_len); | 47 | int pkt_len); |
48 | extern int efx_selftest(struct efx_nic *efx, | 48 | int efx_selftest(struct efx_nic *efx, struct efx_self_tests *tests, |
49 | struct efx_self_tests *tests, | 49 | unsigned flags); |
50 | unsigned flags); | 50 | void efx_selftest_async_start(struct efx_nic *efx); |
51 | extern void efx_selftest_async_start(struct efx_nic *efx); | 51 | void efx_selftest_async_cancel(struct efx_nic *efx); |
52 | extern void efx_selftest_async_cancel(struct efx_nic *efx); | 52 | void efx_selftest_async_work(struct work_struct *data); |
53 | extern void efx_selftest_async_work(struct work_struct *data); | ||
54 | 53 | ||
55 | #endif /* EFX_SELFTEST_H */ | 54 | #endif /* EFX_SELFTEST_H */ |