Also the timepps.h file along with some user land pps related tools can
be found here:

git://github.com/ago/pps-tools.git

The version there is somewhat outdated as it does not include support
for the new kernel consumer that is part of 2.6.38.  Here is a diff for
a version that does work with the kernel consumer:

$ diff timepps.h /usr/include/timepps.h
188a189,205
> #ifdef PPS_KC_BIND
> 
> static __inline int time_pps_kcbind(pps_handle_t handle,
>                                       const int kernel_consumer,
>                                       const int edge, const int tsformat)
> {
>       struct pps_bind_args __bind_args;
> 
>       __bind_args.tsformat = tsformat;
>       __bind_args.edge = edge;
>       __bind_args.consumer = kernel_consumer;
> 
>       return ioctl(handle, PPS_KC_BIND, &__bind_args);
> }
> 
> #else /* !PPS_KC_BIND */
> 
198c215,217
< #endif                                /* _SYS_TIMEPPS_H_ */
---
> #endif /* PPS_KC_BIND */
> 
> #endif /* _SYS_TIMEPPS_H_ */

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/805661

Title:
  NO reference clock support.  I need Oncore ref clock support in ntp.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/805661/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to