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/falcon.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/falcon.h')
-rw-r--r-- | drivers/net/sfc/falcon.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/sfc/falcon.h b/drivers/net/sfc/falcon.h index 41b388b65996..30d61e48ac60 100644 --- a/drivers/net/sfc/falcon.h +++ b/drivers/net/sfc/falcon.h | |||
@@ -93,6 +93,12 @@ extern void falcon_update_nic_stats(struct efx_nic *efx); | |||
93 | extern void falcon_set_multicast_hash(struct efx_nic *efx); | 93 | extern void falcon_set_multicast_hash(struct efx_nic *efx); |
94 | extern int falcon_reset_xaui(struct efx_nic *efx); | 94 | extern int falcon_reset_xaui(struct efx_nic *efx); |
95 | 95 | ||
96 | /* Tests */ | ||
97 | struct falcon_nvconfig; | ||
98 | extern int falcon_read_nvram(struct efx_nic *efx, | ||
99 | struct falcon_nvconfig *nvconfig); | ||
100 | extern int falcon_test_registers(struct efx_nic *efx); | ||
101 | |||
96 | /************************************************************************** | 102 | /************************************************************************** |
97 | * | 103 | * |
98 | * Falcon MAC stats | 104 | * Falcon MAC stats |