Re: [Linuxptp-devel] linuxptp in kernel 2.6.30+?

2014-06-02 Thread Keller, Jacob E
On Mon, 2014-06-02 at 18:19 +0200, Richard Cochran wrote: > On Mon, Jun 02, 2014 at 04:07:38PM +, Daniel Le wrote: > > I understand that linuxptp code base as is requires Linux kernel > > version 3.0 or newer. For platforms where kernel 3.x is not yet > > available, is it possible to backport l

Re: [Linuxptp-devel] [PATCH 2/2] hwtstamp_ctl: use SIOCGHWTSTAMP ioctl before destructively setting policy

2014-06-02 Thread Keller, Jacob E
On Mon, 2014-06-02 at 17:47 +0200, Richard Cochran wrote: > Looks good. I have a few nits to pick... > > On Tue, May 27, 2014 at 10:34:36AM -0700, Jacob Keller wrote: > ... > > > diff --git a/hwstamp_ctl.8 b/hwstamp_ctl.8 > > index cece74f61866..7bfdf4451839 100644 > > --- a/hwstamp_ctl.8 > > +++

Re: [Linuxptp-devel] linuxptp in kernel 2.6.30+?

2014-06-02 Thread Richard Cochran
On Mon, Jun 02, 2014 at 04:07:38PM +, Daniel Le wrote: > I understand that linuxptp code base as is requires Linux kernel > version 3.0 or newer. For platforms where kernel 3.x is not yet > available, is it possible to backport linuxptp into a kernel > 2.6.30+? (Everything is possible.) > If

[Linuxptp-devel] linuxptp in kernel 2.6.30+?

2014-06-02 Thread Daniel Le
Hello List, I understand that linuxptp code base as is requires Linux kernel version 3.0 or newer. For platforms where kernel 3.x is not yet available, is it possible to backport linuxptp into a kernel 2.6.30+? If so, what would need to be done? Does it make sense to modify the hardware abstrac

Re: [Linuxptp-devel] [PATCH 2/2] hwtstamp_ctl: use SIOCGHWTSTAMP ioctl before destructively setting policy

2014-06-02 Thread Richard Cochran
Looks good. I have a few nits to pick... On Tue, May 27, 2014 at 10:34:36AM -0700, Jacob Keller wrote: ... > diff --git a/hwstamp_ctl.8 b/hwstamp_ctl.8 > index cece74f61866..7bfdf4451839 100644 > --- a/hwstamp_ctl.8 > +++ b/hwstamp_ctl.8 > @@ -15,11 +15,10 @@ hwstamp_ctl \- set time stamping poli

Re: [Linuxptp-devel] [PATCH 1/2] missing: add SIOCGHWTSTAMP to missing.h

2014-06-02 Thread Richard Cochran
On Tue, May 27, 2014 at 10:34:35AM -0700, Jacob Keller wrote: > diff --git a/missing.h b/missing.h > index d6b2355cb8fb..5f21fe58d069 100644 > --- a/missing.h > +++ b/missing.h > @@ -50,6 +50,10 @@ enum _missing_hwtstamp_tx_types { > }; > #endif > > +#ifndef SIOCGHWTSTAMP > +#define SIOCGHWTSTA

Re: [Linuxptp-devel] [PATCH 1/2] missing: add SIOCGHWTSTAMP to missing.h

2014-06-02 Thread Richard Cochran
Never mind, this is a socket option, not an ioctl. My bad. Thanks, Richard -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. W