net: dsa: mv88e6xxx: expose switch time as a PTP hardware clock
This patch adds basic support for exposing the 32-bit timestamp counter inside the mv88e6xxx switch as a ptp_clock. Adjfine implemented by Richard Cochran. Andrew Lunn: fix return value of PTP stub function. Signed-off-by: NBrandon Streiff <brandon.streiff@ni.com> Signed-off-by: NRichard Cochran <richardcochran@gmail.com> Signed-off-by: NAndrew Lunn <andrew@lunn.ch> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
drivers/net/dsa/mv88e6xxx/ptp.c
0 → 100644
drivers/net/dsa/mv88e6xxx/ptp.h
0 → 100644
想要评论请 注册 或 登录