Skip to content

Commit

Permalink
Fix the man page regarding the '-p' option.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
richardcochran committed Jul 3, 2016
1 parent d825b1d commit 0d61027
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ptp4l.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH PTP4l 8 "December 2014" "linuxptp"
.TH PTP4l 8 "July 2016" "linuxptp"
.SH NAME
ptp4l - PTP Boundary/Ordinary Clock

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 0d61027

Please sign in to comment.