enetc: add get_ts_info interface for ethtool
authorY.b. Lu <yangbo.lu@nxp.com>
Thu, 23 May 2019 02:33:33 +0000 (02:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2019 20:16:32 +0000 (13:16 -0700)
commit41514737ecaa603a5127cdccdc5f17ef11b9b3dc
tree48d180629158720a31f52ff9c17cd8c75470c7cd
parentd398231219116da5697bbe090e478dd68a2259ed
enetc: add get_ts_info interface for ethtool

This patch is to add get_ts_info interface for ethtool
to support getting timestamping capability.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc.h
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
drivers/net/ethernet/freescale/enetc/enetc_ptp.c