diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-28 22:43:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 19:46:30 -0500 |
commit | 9bfc4bb1f9b5863b177752b88e8bfa364e83a4fa (patch) | |
tree | c4ca25f993298ec1a2a10f6027e3958186b364dc /drivers/net/sfc/net_driver.h | |
parent | eb9f6744cbfa97674c13263802259b5aa0034594 (diff) |
sfc: Add efx_nic_type operation for register 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 58bf761d7317..9d353d923eec 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h | |||
@@ -864,6 +864,7 @@ static inline const char *efx_dev_name(struct efx_nic *efx) | |||
864 | * @get_wol: Get WoL configuration from driver state | 864 | * @get_wol: Get WoL configuration from driver state |
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 | * @default_mac_ops: efx_mac_operations to set at startup | 868 | * @default_mac_ops: efx_mac_operations to set at startup |
868 | * @revision: Hardware architecture revision | 869 | * @revision: Hardware architecture revision |
869 | * @mem_map_size: Memory BAR mapped size | 870 | * @mem_map_size: Memory BAR mapped size |
@@ -902,6 +903,7 @@ struct efx_nic_type { | |||
902 | void (*get_wol)(struct efx_nic *efx, struct ethtool_wolinfo *wol); | 903 | void (*get_wol)(struct efx_nic *efx, struct ethtool_wolinfo *wol); |
903 | int (*set_wol)(struct efx_nic *efx, u32 type); | 904 | int (*set_wol)(struct efx_nic *efx, u32 type); |
904 | void (*resume_wol)(struct efx_nic *efx); | 905 | void (*resume_wol)(struct efx_nic *efx); |
906 | int (*test_registers)(struct efx_nic *efx); | ||
905 | struct efx_mac_operations *default_mac_ops; | 907 | struct efx_mac_operations *default_mac_ops; |
906 | 908 | ||
907 | int revision; | 909 | int revision; |