Messages in this thread | | | Date | Fri, 11 Apr 2008 09:55:15 +0200 | From | Rodolfo Giometti <> | Subject | Re: [PATCH 5/7] PPS: serial clients support. |
| |
On Thu, Apr 10, 2008 at 09:09:18PM +0100, Alan Cox wrote: > On Thu, 10 Apr 2008 20:22:29 +0200 > Rodolfo Giometti <giometti@linux.it> wrote: > > > Adds support for the PPS sources connected with the CD (Carrier > > Detect) pin of a serial port. > > Better and now readable but this is definitely in the wrong place and > should be pushed up the stack so it can be generalised for all serial > devices as an ldisc or similar.
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?
This patch adds PPS support just for UARTs, other devices should provide their own support by using the new provided API. :)
Ciao,
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
| |