LWN.net Logo

LinuxPPS: the PPS Linux implementation.

From:  Rodolfo Giometti <giometti@linux.it>
To:  linux-kernel@vger.kernel.org
Subject:  LinuxPPS: the PPS Linux implementation.
Date:  Fri, 8 Feb 2008 19:00:36 +0100
Message-ID:  <1202493644764-git-send-email-giometti@linux.it>
Cc:  Andrew Morton <akpm@linux-foundation.org>, David Woodhouse <dwmw2@infradead.org>, Dave Jones <davej@redhat.com>
Archive-link:  Article, Thread

This patch set adds the PPS support into Linux.

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.

Rodolfo

--

 Documentation/pps/Makefile     |    2 
 b/Documentation/pps/Makefile   |   27 +++
 b/Documentation/pps/pps.txt    |  171 ++++++++++++++++++++
 b/Documentation/pps/ppsctl.c   |   63 +++++++
 b/Documentation/pps/ppsfind    |   17 ++
 b/Documentation/pps/ppstest.c  |  152 ++++++++++++++++++
 b/Documentation/pps/timepps.h  |  196 +++++++++++++++++++++++
 b/MAINTAINERS                  |    7 
 b/drivers/Kconfig              |    2 
 b/drivers/Makefile             |    1 
 b/drivers/char/lp.c            |   61 +++++++
 b/drivers/pps/Kconfig          |   32 +++
 b/drivers/pps/Makefile         |   10 +
 b/drivers/pps/clients/Kconfig  |   18 ++
 b/drivers/pps/clients/Makefile |    9 +
 b/drivers/pps/clients/ktimer.c |  115 +++++++++++++
 b/drivers/pps/kapi.c           |  272 ++++++++++++++++++++++++++++++++
 b/drivers/pps/pps.c            |  342 +++++++++++++++++++++++++++++++++++++++++
b/drivers/pps/sysfs.c          |  142 +++++++++++++++++
 b/drivers/serial/8250.c        |    2 
 b/drivers/serial/serial_core.c |   71 ++++++++
 b/include/linux/Kbuild         |    1 
 b/include/linux/parport.h      |   13 +
 b/include/linux/pps.h          |  205 ++++++++++++++++++++++++
 b/include/linux/serial_core.h  |   31 ++-
 drivers/pps/Kconfig            |    2 
 drivers/pps/Makefile           |    1 
 drivers/pps/clients/Kconfig    |   20 ++
 28 files changed, 1969 insertions(+), 16 deletions(-)



Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds