Re: [PATCH 5/7] PPS: serial clients support.

From: Rodolfo Giometti
Date: Fri Apr 11 2008 - 04:49:19 EST


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@xxxxxxxxxxxx
Linux Device Driver giometti@xxxxxxxx
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
--
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/