aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/dev_ioctl.c
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2020-07-17 01:45:31 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-19 19:22:57 -0700
commitecf9f9b77c637a3d9347a7c85b33964abac989ac (patch)
tree6303c3b6958fdc5286c46b9ec3db56c0ab651a68 /net/core/dev_ioctl.c
parentptp: introduce a phase offset in the periodic output request (diff)
downloadwireguard-linux-ecf9f9b77c637a3d9347a7c85b33964abac989ac.tar.xz
wireguard-linux-ecf9f9b77c637a3d9347a7c85b33964abac989ac.zip
net: mscc: ocelot: add support for PTP waveform configuration
For PPS output (perout period is 1.000000000), accept the new "phase" parameter from the periodic output request structure. For both PPS and freeform output, accept the new "on" argument for specifying the duty cycle of the generated signal. Preserve the old defaults for this "on" time: 1 us for PPS, and half the period for freeform output. Also preserve the old behavior that accepted the "phase" via the "start" argument. Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions