02 Jun, 2011
2 commits
-
In ptp_read there is an unlock missing on an error path, and a double
unlock on another error path.Signed-off-by: Dan Carpenter
Acked-by: Richard Cochran
Signed-off-by: John Stultz -
copy_to_user() returns the number of bytes remaining, but we want a
negative error code in ptp_ioctl.Signed-off-by: Dan Carpenter
Acked-by: Richard Cochran
Signed-off-by: John Stultz
24 May, 2011
4 commits
-
This patch adds support for the PTP clock found on the DP83640.
The basic clock operations and one external time stamp have
been implemented.Signed-off-by: Richard Cochran
Signed-off-by: John Stultz -
This patch adds a driver for the hardware time stamping unit found on the
IXP465. The basic clock operations and an external trigger are implemented.Signed-off-by: Richard Cochran
Acked-by: Arnd Bergmann
Acked-by: David S. Miller
Acked-by: John Stultz
Acked-by: Krzysztof Halasa
Signed-off-by: John Stultz -
The eTSEC includes a PTP clock with quite a few features. This patch adds
support for the basic clock adjustment functions, plus two external time
stamps, one alarm, and the PPS callback.Signed-off-by: Richard Cochran
Acked-by: David S. Miller
Acked-by: John Stultz
Signed-off-by: John Stultz -
This patch adds an infrastructure for hardware clocks that implement
IEEE 1588, the Precision Time Protocol (PTP). A class driver offers a
registration method to particular hardware clock drivers. Each clock is
presented as a standard POSIX clock.The ancillary clock features are exposed in two different ways, via
the sysfs and by a character device.Signed-off-by: Richard Cochran
Acked-by: Arnd Bergmann
Acked-by: David S. Miller
Signed-off-by: John Stultz