sfc: Add a function pointer to abstract write of host time into NIC shared memory

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
Laurence Evans 2013-03-07 11:46:58 +00:00 committed by Ben Hutchings
parent c1d828bdca
commit 977a5d5d32
3 changed files with 16 additions and 2 deletions

View file

@ -1117,6 +1117,7 @@ struct efx_nic_type {
size_t *retlen, const u8 *buffer);
int (*mtd_sync)(struct mtd_info *mtd);
#endif
void (*ptp_write_host_time)(struct efx_nic *efx, u32 host_time);
int revision;
unsigned int txd_ptr_tbl_base;