[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45C49A88.4050809@joow.be>
Date: Sat, 03 Feb 2007 15:22:00 +0100
From: Pieter Palmers <pieterp@...w.be>
To: Stefan Richter <stefanr@...6.in-berlin.de>
CC: Dan Dennedy <dan@...nedy.org>,
linux1394-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH update] ieee1394: cycle timer read extension for raw1394/libraw1394
Stefan Richter wrote:
> From: Pieter Palmers <pieterp@...w.be>
>
> This implements the simultaneous read of the isochronous cycle timer and
> the system clock (in usecs). This allows to express the exact receive
> time of an ISO packet as a system time with microsecond accuracy.
> http://bugzilla.kernel.org/show_bug.cgi?id=7773
>
> The counterpart patch for libraw1394 can be found at
> http://thread.gmane.org/gmane.linux.kernel.firewire.devel/8934
>
> Patch update (Stefan R.):
> - Disable preemption and local interrupts.
> - Fix integer overflow.
I had to use 1000000ULL instead of USEC_PER_SEC to avoid weird behavior.
> - Add paranoid error checks and kerneldoc to hpsb_read_cycle_timer.
> Move it to other ieee1394_core high-level API functions.
> - Rename userspace-exported struct _raw1394_cycle_timer to
> raw1394_cycle_timer. Change comments in raw1394.
> - Adjust whitespace.
Thanks for the cleanups!
I can't test it right now, but I'll report later.
Pieter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists