diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-09-01 07:49:02 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-03 09:53:48 -0400 |
commit | 8c8661e4cefdd1ddbfe7d5120f046694555d9e5c (patch) | |
tree | 0618e0392140bccadf012381e64a795dfe2e41a4 /drivers/net/sfc/efx.h | |
parent | a515089c963b045f65c495cee1d344d8cb75e1d1 (diff) |
sfc: Extend self-tests
Include PMA/PMD in loopback self-tests as intended.
Add NVRAM checksum validation and include it in self-tests.
Add register self-tests.
Run PHY self-tests where available.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/efx.h')
-rw-r--r-- | drivers/net/sfc/efx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/sfc/efx.h b/drivers/net/sfc/efx.h index 9a8c283fa883..d02937b70eee 100644 --- a/drivers/net/sfc/efx.h +++ b/drivers/net/sfc/efx.h | |||
@@ -37,6 +37,12 @@ extern void efx_flush_queues(struct efx_nic *efx); | |||
37 | 37 | ||
38 | /* Ports */ | 38 | /* Ports */ |
39 | extern void efx_reconfigure_port(struct efx_nic *efx); | 39 | extern void efx_reconfigure_port(struct efx_nic *efx); |
40 | extern void __efx_reconfigure_port(struct efx_nic *efx); | ||
41 | |||
42 | /* Reset handling */ | ||
43 | extern void efx_reset_down(struct efx_nic *efx, struct ethtool_cmd *ecmd); | ||
44 | extern int efx_reset_up(struct efx_nic *efx, struct ethtool_cmd *ecmd, | ||
45 | bool ok); | ||
40 | 46 | ||
41 | /* Global */ | 47 | /* Global */ |
42 | extern void efx_schedule_reset(struct efx_nic *efx, enum reset_type type); | 48 | extern void efx_schedule_reset(struct efx_nic *efx, enum reset_type type); |