From 429c126b580f7bab9662e6e7d83f2c1803a02389 Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Sun, 27 Nov 2011 14:21:23 +0100 Subject: [PATCH] Select the system clock whenever legacy hardware time stamps are used. Signed-off-by: Richard Cochran --- linuxptp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linuxptp.c b/linuxptp.c index e1ae964..96c2f78 100644 --- a/linuxptp.c +++ b/linuxptp.c @@ -64,7 +64,7 @@ static void usage(char *progname) " -i [dev] interface device to use, for example 'eth0'\n" " (may be specified multiple times)\n" " -p [dev] PTP hardware clock device to use, default '%s'\n" - " (ignored when SOFTWARE time stamping is selected)\n\n", + " (ignored for SOFTWARE/LEGACY HW time stamping)\n\n", progname, DEFAULT_PHC); } @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) iface[i].transport = transport; iface[i].timestamping = timestamping; } - if (timestamping == TS_SOFTWARE) { + if (timestamping == TS_SOFTWARE || timestamping == TS_LEGACY_HW) { phc = NULL; }