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

From: Alan Cox
Date: Fri Apr 11 2008 - 04:33:02 EST


> 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
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.

Alan
--
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/