LinuxPPS (RESUBMIT 6): the PPS Linux implementation.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rodolfo Giometti
Date: Tuesday, August 19, 2008 - 2:50 pm

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.

Please, note that since last submit a new line discipline has been added
in order to leave untouched the serial ports code (as suggested by Alan).

Rodolfo

--

 b/Documentation/ABI/testing/sysfs-pps |   73 +++++++
 b/Documentation/ioctl-number.txt      |    2 
 b/Documentation/pps/Makefile          |   28 ++
 b/Documentation/pps/pps.txt           |  172 +++++++++++++++++
 b/Documentation/pps/ppsfind           |   17 +
 b/Documentation/pps/ppsldisc.c        |   46 ++++
 b/Documentation/pps/ppstest.c         |  151 +++++++++++++++
 b/Documentation/pps/timepps.h         |  195 +++++++++++++++++++
 b/Documentation/tty.txt               |    4 
 b/MAINTAINERS                         |    7 
 b/arch/x86/kernel/irq_32.c            |   18 +
 b/arch/x86/kernel/irq_64.c            |   22 ++
 b/drivers/Kconfig                     |    2 
 b/drivers/Makefile                    |    1 
 b/drivers/char/lp.c                   |   61 ++++++
 b/drivers/char/n_tty.c                |   54 +++--
 b/drivers/pps/Kconfig                 |   33 +++
 b/drivers/pps/Makefile                |    8 
 b/drivers/pps/clients/Kconfig         |   18 +
 b/drivers/pps/clients/Makefile        |    9 
 b/drivers/pps/clients/ktimer.c        |  124 ++++++++++++
 b/drivers/pps/clients/pps-ldisc.c     |  154 +++++++++++++++
 b/drivers/pps/kapi.c                  |  322 ++++++++++++++++++++++++++++++++
 b/drivers/pps/pps.c                   |  335 ++++++++++++++++++++++++++++++++++
 b/drivers/pps/sysfs.c                 |  104 ++++++++++
 b/drivers/serial/8250.c               |   13 +
 b/include/linux/Kbuild                |    1 
 b/include/linux/parport.h             |   22 ++
 b/include/linux/pps.h                 |  202 ++++++++++++++++++++
 b/include/linux/serial_core.h         |   10 -
 b/include/linux/tty.h                 |   16 +
 b/include/linux/tty_ldisc.h           |   10 +
 drivers/pps/Kconfig                   |   14 +
 drivers/pps/Makefile                  |    1 
 drivers/pps/clients/Kconfig           |   17 +
 drivers/pps/clients/Makefile          |    1 
 drivers/pps/clients/pps-ldisc.c       |   18 +
 include/linux/pps.h                   |    1 
 include/linux/tty.h                   |    3 
 39 files changed, 2263 insertions(+), 26 deletions(-)


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
LinuxPPS (RESUBMIT 6): the PPS Linux implementation., Rodolfo Giometti, (Tue Aug 19, 2:50 pm)
[PATCH 01/10] LinuxPPS core support., Rodolfo Giometti, (Tue Aug 19, 2:50 pm)
[PATCH 02/10] PPS: userland header file for PPS API., Rodolfo Giometti, (Tue Aug 19, 2:50 pm)
[PATCH 03/10] PPS: documentation programs and examples., Rodolfo Giometti, (Tue Aug 19, 2:50 pm)
[PATCH 04/10] PPS: LinuxPPS clients support., Rodolfo Giometti, (Tue Aug 19, 2:50 pm)
[PATCH 06/10] ldisc n_tty: export all N_TTY ldisc methods., Rodolfo Giometti, (Tue Aug 19, 2:50 pm)
[PATCH 07/10] tty: new PPS line discipline., Rodolfo Giometti, (Tue Aug 19, 2:50 pm)
[PATCH 08/10] PPS: serial clients support., Rodolfo Giometti, (Tue Aug 19, 2:50 pm)
Re: [PATCH 07/10] tty: new PPS line discipline., Alan Cox, (Tue Aug 19, 2:54 pm)
Re: [PATCH 08/10] PPS: serial clients support., Alan Cox, (Tue Aug 19, 2:56 pm)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ..., Rodolfo Giometti, (Tue Aug 19, 3:49 pm)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ..., Rodolfo Giometti, (Tue Aug 19, 4:05 pm)
Re: [PATCH 01/10] LinuxPPS core support., H. Peter Anvin, (Tue Aug 19, 4:22 pm)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ..., Rodolfo Giometti, (Wed Aug 20, 1:53 am)
Re: [PATCH 01/10] LinuxPPS core support., Rodolfo Giometti, (Wed Aug 20, 2:13 am)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ..., Rodolfo Giometti, (Wed Aug 20, 6:01 am)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ..., Rodolfo Giometti, (Wed Aug 20, 7:05 am)