fsl/fman_port: support getting timestamp
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 25 Jun 2018 12:37:13 +0000 (20:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 13:15:14 +0000 (22:15 +0900)
commit880f874cf505681d3cfef867892ac15094afaf2b
tree6f48706f69573082577ff4c6637c0c0259634793
parent0fab782a28e41137a76ca1ebcd5ae8ed7900f8fc
fsl/fman_port: support getting timestamp

This patch is to add fman_port_get_tstamp() interface
to get timestamp.

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>
drivers/net/ethernet/freescale/fman/fman_port.c
drivers/net/ethernet/freescale/fman/fman_port.h