staging: fsl-dpaa2/rtc: support phc_index of ethtool_ts_info
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 26 Apr 2018 10:23:49 +0000 (18:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Apr 2018 13:25:08 +0000 (15:25 +0200)
commit3c2b8df02c726f166d7fc4a7260cc4acde489b4a
treeada1e2484bdb97a4feba14cd6e7849b13abcf624
parent8c03fa03ea950ad300c819ee708789bf9bc326b6
staging: fsl-dpaa2/rtc: support phc_index of ethtool_ts_info

This patch is to support phc_index of ethtool_ts_info.
Also make the rtc drvier depend on FSL_DPAA2_ETH because
this driver is only useful when PTP programs are getting
hardware time stamps on the PTP Ethernet packets using the
SO_TIMESTAMPING API.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/Kconfig
drivers/staging/fsl-dpaa2/rtc/rtc.c
drivers/staging/fsl-dpaa2/rtc/rtc.h [new file with mode: 0644]