Re: LinuxPPS low-level IRQs timestamps & ldisc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Cox
Date: Sunday, June 1, 2008 - 11:51 pm

> First I added a new dcd_change() ldisc method which can be used as

This looks good.

Where are you calling it from, and how ?


Not all tty devices have an IRQ (I suspect those which do not are useless
for PPS reporting however). 

Do you get decent reports if you change the tty driver to do

	getnstimeofday(&ts);
	[blah blah lots of serial port I/O code]
	if (dcd ^ old_dcd)
		ld->dcd_change(tty, dcd, &ts);

??

Alan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
LinuxPPS low-level IRQs timestamps & ldisc, Rodolfo Giometti, (Sun Jun 1, 9:15 am)
Re: LinuxPPS low-level IRQs timestamps & ldisc, Lennart Sorensen, (Sun Jun 1, 12:26 pm)
Re: LinuxPPS low-level IRQs timestamps & ldisc, Alan Cox, (Sun Jun 1, 11:51 pm)
Re: LinuxPPS low-level IRQs timestamps & ldisc, Rodolfo Giometti, (Mon Jun 2, 2:25 am)
Re: LinuxPPS low-level IRQs timestamps & ldisc, Rodolfo Giometti, (Mon Jun 2, 7:56 am)
Re: LinuxPPS low-level IRQs timestamps & ldisc, Lennart Sorensen, (Mon Jun 2, 10:09 am)
Re: LinuxPPS low-level IRQs timestamps & ldisc, Rodolfo Giometti, (Mon Jun 2, 10:22 am)
Re: LinuxPPS low-level IRQs timestamps & ldisc, Matti Aarnio, (Mon Jun 2, 1:21 pm)