ptp: Allow selecting trigger/event index in testptp
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Tue, 4 Feb 2014 07:46:36 +0000 (08:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Feb 2014 04:26:46 +0000 (20:26 -0800)
commit61950e82b384cbe581f7e9cb668f77dc1d8cef35
treeecdb1d5b93c45067f59bdbba84b6fe35364822a8
parenta13aff0641a92dc0b95136e32526e2ce81ffc4ef
ptp: Allow selecting trigger/event index in testptp

Currently the trigger/event is hardcoded to 0, this patch adds
a new command line argument -i to select an arbitrary trigger/
event.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/ptp/testptp.c