Re: [PATCH 2/3] ptp: add a software clock based onclock_monotonic_raw

From: Richard Cochran
Date: Fri Mar 04 2011 - 11:10:32 EST


On Fri, Mar 04, 2011 at 12:30:32PM +0100, torbenh wrote:
> On Fri, Mar 04, 2011 at 07:42:51AM +0100, Richard Cochran wrote:
> >
> > Better yet, why not just use the V6 example instead? If we are going
> > to have a testing driver, then I would want the simulated ancillary
> > code as well.
>
> well... your example code messes with clock_realtime.

But could you take the file and replace the CLOCK_REALTIME code with
your SW implemented offset/frequency corrections?

And, just keep my code for simulating the ancillary stuff as is.

> i was planning to emit real timed events, not just some simulation.
> but i dont completely understand this part of the code yet.

??? (None of my PHC patches implement any user timers.)

I am not sure where you are going with the AVB clock idea, but it will
be fun to find out.

Thanks,

Richard

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/