diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2018-06-25 20:37:12 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-26 22:15:14 +0900 |
commit | 0fab782a28e41137a76ca1ebcd5ae8ed7900f8fc (patch) | |
tree | 49c746d123fdcee5334f7e7433ee846978986363 /drivers/net/ethernet/freescale/fman/fman_memac.h | |
parent | arm64: dts: fsl: move ptp timer out of fman (diff) | |
download | linux-dev-0fab782a28e41137a76ca1ebcd5ae8ed7900f8fc.tar.xz linux-dev-0fab782a28e41137a76ca1ebcd5ae8ed7900f8fc.zip |
fsl/fman: add set_tstamp interface
This patch is to add set_tstamp interface for memac,
dtsec, and 10GEC controllers to configure HW timestamping.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman/fman_memac.h')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/fman_memac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.h b/drivers/net/ethernet/freescale/fman/fman_memac.h index b5a50338ed9a..b2c671ec0ce7 100644 --- a/drivers/net/ethernet/freescale/fman/fman_memac.h +++ b/drivers/net/ethernet/freescale/fman/fman_memac.h @@ -58,5 +58,6 @@ int memac_set_exception(struct fman_mac *memac, int memac_add_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr); int memac_del_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr); int memac_set_allmulti(struct fman_mac *memac, bool enable); +int memac_set_tstamp(struct fman_mac *memac, bool enable); #endif /* __MEMAC_H */ |