Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Rodolfo Giometti <giometti <at> linux.it>
Subject: LinuxPPS core (Version 3): the PPS Linux implementation.
Newsgroups: gmane.linux.kernel
Date: Friday 22nd May 2009 06:12:32 UTC (over 7 years ago)
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(+)
 
CD: 2ms