Messages in this thread | | | Date | Fri, 11 Apr 2008 10:49:03 +0200 | From | Rodolfo Giometti <> | Subject | Re: [PATCH 5/7] PPS: serial clients support. |
| |
On Fri, Apr 11, 2008 at 09:28:40AM +0100, Alan Cox wrote: > > How can I do that? From a serial device I just need the IRQ time > > arrival, no other data at all. How a ldisc can help me in this task? > > At the moment you can't. That needs fixing. Most of the infrastructure is > there but not all of it. > > > This patch adds PPS support just for UARTs, other devices should > > provide their own support by using the new provided API. :) > > I do not want PPS code adding to every single serial driver. That way > lies madness. We do it once, and in the right layer. I'll take a further
The problem is that deferencing the pps_event() call will cause severe problems to PPS accuracy... here you can find some considerations on this topic:
http://ml.enneenne.com/pipermail/linuxpps/2008-April/001738.html
> look at it after the tty->ops patch is merged. At that point we'll be in > a good position to add the needed ops/callbacks.
Can you please give me an URL where I can see that patch?
Thanks a lot for your help,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti@enneenne.com Linux Device Driver giometti@linux.it Embedded Systems phone: +39 349 2432127 UNIX programming skype: rodolfo.giometti
| |