On Tue, Aug 19, 2008 at 11:38:57PM +0100, Alan Cox wrote:
If you look at patch 9
(0009-PPS-low-level-IRQ-timestamps-recording.patch) you can see that
we add a (dirty?) trick to improve PPS precision a lot: we record all
IRQ timestamps into static array and then we return those values
instead of ones passed by dcd_change()...
Maybe I can solve the problem defining dcd_change() as follow:
void (*dcd_change)(struct tty_struct *tty, unsigned int status,
void *data)
and then passing the timestamp or struct uart_port pointer?
Thanks,
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
--