Discussion:
[Linuxptp-devel] [PATCH RFC] Fix the man page regarding the '-p' option.
Richard Cochran
2016-07-03 18:55:05 UTC
Permalink
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 <***@gmail.com>
---
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.
--
2.1.4
Loading...