On Mon, Jun 11, 2018 at 11:26:25AM -0700, Cliff Spradlin via Linuxptp-devel
wrote:
> I feel like this would be better implemented as a config option - for
> example, an option to not adjust SIOCSHWTSTAMP at all, or to have an
> explicit value to set it to.
>
> My preference would be to have an
I feel like this would be better implemented as a config option - for
example, an option to not adjust SIOCSHWTSTAMP at all, or to have an
explicit value to set it to.
My preference would be to have an option to not adjust it. Then you could
use hwstamp_ctl or another program before running ptp4l
Signed-off-by: Erez Geva
---
sk.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/sk.c b/sk.c
index f18b2bf..de8bf58 100644
--- a/sk.c
+++ b/sk.c
@@ -55,8 +55,17 @@ static int hwts_init(int fd, const char *device, int
rx_filter, int tx_type)