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 <richardcochran@gmail.com>
master
Richard Cochran 2016-07-03 20:45:41 +02:00
parent d825b1d549
commit 0d61027fd3
1 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.TH PTP4l 8 "December 2014" "linuxptp" .TH PTP4l 8 "July 2016" "linuxptp"
.SH NAME .SH NAME
ptp4l - PTP Boundary/Ordinary Clock 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. specified by this option or in the configuration file.
.TP .TP
.BI \-p " phc-device" .BI \-p " phc-device"
With hardware time stamping, force which PHC device (e.g. /dev/ptp0) should be (This option is deprecated.)
used. 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 .TP
.B \-s .B \-s
Enable the slaveOnly mode. Enable the slaveOnly mode.