#ifndef EFX_SELFTEST_H
#define EFX_SELFTEST_H
#include "net_driver.h"
struct efx_loopback_self_tests { … };
#define EFX_MAX_PHY_TESTS …
struct efx_self_tests { … };
void efx_siena_loopback_rx_packet(struct efx_nic *efx, const char *buf_ptr,
int pkt_len);
int efx_siena_selftest(struct efx_nic *efx, struct efx_self_tests *tests,
unsigned int flags);
void efx_siena_selftest_async_init(struct efx_nic *efx);
void efx_siena_selftest_async_start(struct efx_nic *efx);
void efx_siena_selftest_async_cancel(struct efx_nic *efx);
#endif