aboutsummaryrefslogtreecommitdiff
path: root/include/linux/ptp_clock_kernel.h
AgeCommit message (Collapse)AuthorFilesLines
2012-04-04ptp: Add a method for obtaining the device index.Richard Cochran1-0/+8
This commit adds a method that MAC drivers may call in order to find out the device number of their associated PTP Hardware Clock. Signed-off-by: Richard Cochran <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2011-05-23ptp: Added a brand new class driver for ptp clocks.Richard Cochran1-0/+139
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 <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: David S. Miller <[email protected]> Signed-off-by: John Stultz <[email protected]>