From 0d61027fd324331f342db2e5dbcb7cc7bc70b303 Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Sun, 3 Jul 2016 20:45:41 +0200 Subject: [PATCH] Fix the man page regarding the '-p' option. The -p option for ptp4l, which specifies the PHC device, was added before the ethtool get_ts_info ioctl had been invented. Today it does not "force" the given device as the man page says. Instead this is a legacy option only useful when running on older kernels. Signed-off-by: Richard Cochran --- ptp4l.8 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ptp4l.8 b/ptp4l.8 index 0ab2e23..72baf86 100644 --- a/ptp4l.8 +++ b/ptp4l.8 @@ -1,4 +1,4 @@ -.TH PTP4l 8 "December 2014" "linuxptp" +.TH PTP4l 8 "July 2016" "linuxptp" .SH NAME ptp4l - PTP Boundary/Ordinary Clock @@ -70,8 +70,10 @@ Specify a PTP port, it may be used multiple times. At least one port must be specified by this option or in the configuration file. .TP .BI \-p " phc-device" -With hardware time stamping, force which PHC device (e.g. /dev/ptp0) should be -used. +(This option is deprecated.) +Before Linux kernel v3.5 there was no way to discover the PHC device +associated with a network interface. This option specifies the PHC +device (e.g. /dev/ptp0) to be used when running on legacy kernels. .TP .B \-s Enable the slaveOnly mode.