OSDN Git Service

PTP: add support for one-shot output
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 11 Sep 2019 06:16:22 +0000 (09:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Sep 2019 13:57:03 +0000 (15:57 +0200)
commit823eb2a3c4c7f1b3e749f0dddb70bf8b09a76a10
tree4ef8caac727a3d108e96e00b2dc2269d9b4d4e3b
parent415606588c61230b7b4f0118fc2d64a0c1c4d102
PTP: add support for one-shot output

Some controllers allow for a one-shot output pulse, in contrast to
periodic output. Now that we have extensible versions of our IOCTLs, we
can finally make use of the 'flags' field to pass a bit telling driver
that if we want one-shot pulse output.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Reviewed-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ptp_clock.h