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

2014-06-04 Thread Richard Cochran
On Tue, Jun 03, 2014 at 02:03:11PM -0700, Jacob Keller wrote: > This patch modifies the hwtstamp_ctl program, so that it will (attempt > to) use the SIOCGHWTSTAMP ioctl to non-destructively read the current > hardware timestamping policy, prior to setting it with SIOCSHWTSTAMP. Applied. Thanks, R

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

2014-06-03 Thread Keller, Jacob E
On Tue, 2014-06-03 at 14:03 -0700, Jacob Keller wrote: > This patch modifies the hwtstamp_ctl program, so that it will (attempt > to) use the SIOCGHWTSTAMP ioctl to non-destructively read the current > hardware timestamping policy, prior to setting it with SIOCSHWTSTAMP. > > This change has 3 pri

[Linuxptp-devel] [PATCH v4] hwtstamp_ctl: use SIOCGHWTSTAMP ioctl before destructively setting policy

2014-06-03 Thread Jacob Keller
This patch modifies the hwtstamp_ctl program, so that it will (attempt to) use the SIOCGHWTSTAMP ioctl to non-destructively read the current hardware timestamping policy, prior to setting it with SIOCSHWTSTAMP. This change has 3 primary advantages: 1) It allows reading the current settings of the