ptp: add the PTP_SYS_OFFSET ioctl to the testptp program
authorDong Zhu <bluezhudong@gmail.com>
Tue, 17 Sep 2013 07:32:35 +0000 (15:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Sep 2013 20:46:17 +0000 (16:46 -0400)
commit568ebc5985f5d849814117e40967b5d2e739405c
tree2b92c2c47e5198b11a5b5e7f9f59dc63a31a27f8
parent7b584460689d4326d2d1664271ab0c56b56d4328
ptp: add the PTP_SYS_OFFSET ioctl to the testptp program

This patch add a method into testptp.c to measure the time offset
between phc and system clock through the ioctl PTP_SYS_OFFSET.

Signed-off-by: Dong Zhu <bluezhudong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/ptp/testptp.c