summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/net_driver.h
diff options
context:
space:
mode:
authorLaurence Evans <levans@solarflare.com>2013-03-07 11:46:58 +0000
committerBen Hutchings <bhutchings@solarflare.com>2013-08-27 22:27:02 +0100
commit977a5d5d32f4797ace5ef65ee3f2232a1c88a274 (patch)
treeae1d9a9e6348a3017521ab604a82cd260ab1a498 /drivers/net/ethernet/sfc/net_driver.h
parentc1d828bdca00f29e00c1650750ce0445d8b4458d (diff)
downloadop-kernel-dev-977a5d5d32f4797ace5ef65ee3f2232a1c88a274.zip
op-kernel-dev-977a5d5d32f4797ace5ef65ee3f2232a1c88a274.tar.gz
sfc: Add a function pointer to abstract write of host time into NIC shared memory
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
-rw-r--r--drivers/net/ethernet/sfc/net_driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h
index d33656b..21b1c2a 100644
--- a/drivers/net/ethernet/sfc/net_driver.h
+++ b/drivers/net/ethernet/sfc/net_driver.h
@@ -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;
OpenPOWER on IntegriCloud