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)
commit888a36871e1924a235ad88198d903382151e4ac5
tree1c6807575fc49c8463d53c366bf33c14d77d1ba7
parent6092315dfdec5185881605d15a0e200d6e90eb66
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