]> 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)
commitbaad7000f9ca5f14e9051857db9b622ac04d29b7
tree1c6807575fc49c8463d53c366bf33c14d77d1ba7
parent9f7507e0bb62efb3b2bfd083a1da16a8831a85e3
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