]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: add the pin GET/SETFUNC ioctls to the testptp program.
authorRichard Cochran <richardcochran@gmail.com>
Thu, 20 Mar 2014 21:21:53 +0000 (22:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Mar 2014 18:21:14 +0000 (14:21 -0400)
commitb90faa69be4297d144ad8ffd1f99de21c650e7b0
tree1c6807575fc49c8463d53c366bf33c14d77d1ba7
parent972e50270bf4a39846a6c284c41d5c224d530bce
ptp: add the pin GET/SETFUNC ioctls to the testptp program.

This patch adds a option to the test program that lists the
programmable pins on a PTP Hardware Clock device, assuming there
are any such pins. A second option lets the user reprogram the
auxiliary function of a single pin.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/ptp/testptp.c