diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-28 22:43:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 19:46:31 -0500 |
commit | 0aa3fbaa3f2d29a14231ebb0c8e521c23701d41f (patch) | |
tree | 11ab228583d64eae81abe02f49e233fdab5cfb54 /drivers/net/sfc/net_driver.h | |
parent | 9bfc4bb1f9b5863b177752b88e8bfa364e83a4fa (diff) |
sfc: Add efx_nic_type operation for NVRAM self-test
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r-- | drivers/net/sfc/net_driver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index 9d353d923eec..de7cf17f4a45 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h | |||
@@ -865,6 +865,7 @@ static inline const char *efx_dev_name(struct efx_nic *efx) | |||
865 | * @set_wol: Push WoL configuration to the NIC | 865 | * @set_wol: Push WoL configuration to the NIC |
866 | * @resume_wol: Synchronise WoL state between driver and MC (e.g. after resume) | 866 | * @resume_wol: Synchronise WoL state between driver and MC (e.g. after resume) |
867 | * @test_registers: Test read/write functionality of control registers | 867 | * @test_registers: Test read/write functionality of control registers |
868 | * @test_nvram: Test validity of NVRAM contents | ||
868 | * @default_mac_ops: efx_mac_operations to set at startup | 869 | * @default_mac_ops: efx_mac_operations to set at startup |
869 | * @revision: Hardware architecture revision | 870 | * @revision: Hardware architecture revision |
870 | * @mem_map_size: Memory BAR mapped size | 871 | * @mem_map_size: Memory BAR mapped size |
@@ -904,6 +905,7 @@ struct efx_nic_type { | |||
904 | int (*set_wol)(struct efx_nic *efx, u32 type); | 905 | int (*set_wol)(struct efx_nic *efx, u32 type); |
905 | void (*resume_wol)(struct efx_nic *efx); | 906 | void (*resume_wol)(struct efx_nic *efx); |
906 | int (*test_registers)(struct efx_nic *efx); | 907 | int (*test_registers)(struct efx_nic *efx); |
908 | int (*test_nvram)(struct efx_nic *efx); | ||
907 | struct efx_mac_operations *default_mac_ops; | 909 | struct efx_mac_operations *default_mac_ops; |
908 | 910 | ||
909 | int revision; | 911 | int revision; |