LinuxPPS core (Version 3): the PPS Linux implementation.

From: Rodolfo Giometti
Date: Fri May 22 2009 - 02:57:33 EST


This patch adds the PPS core support into Linux.

Currently I just propose the "core" so after inclusion we can add all
other related stuff as suggested by several people in this list. :)

PPS means "pulse per second" and its API is specified by RFC 2783
(Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0).

The code has been tested with the NTPD program
(http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several GPS
antennae.


Changelog
=========

Version 2 -> 3
--------------

* include file splitted up.

Version 1 -> 2
--------------

* fix race during PPS source registration.

* PPS_CHECK removed.

* not needed check in pps_exit() removed.

* Printing stuff on exit removed.

Version [full patchset] -> 1
----------------------------

* stupid filenames removed.

* kernel-doc documentation of exported symbols.

* old BKL-locked ioctl removed.

* !uarg checks in the ioctls removed.

* pps.h revisited but not splitted, since several stuff are shared between
kernel and user land (I hope this will not stop inclusion...)

Rodolfo

--

Documentation/ABI/testing/sysfs-pps | 73 +++++++
Documentation/ioctl/ioctl-number.txt | 2
Documentation/pps/pps.txt | 172 ++++++++++++++++++
MAINTAINERS | 7
drivers/Kconfig | 2
drivers/Makefile | 1
drivers/pps/Kconfig | 33 +++
drivers/pps/Makefile | 8
drivers/pps/kapi.c | 329 +++++++++++++++++++++++++++++++++++
drivers/pps/pps.c | 312 +++++++++++++++++++++++++++++++++
drivers/pps/sysfs.c | 98 ++++++++++
include/linux/Kbuild | 1
include/linux/pps.h | 122 ++++++++++++
include/linux/pps_kernel.h | 89 +++++++++
14 files changed, 1249 insertions(+)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/