diff options
Diffstat (limited to 'usr.sbin/xntpd/xntpd/refclock_conf.c')
-rw-r--r-- | usr.sbin/xntpd/xntpd/refclock_conf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/xntpd/refclock_conf.c b/usr.sbin/xntpd/xntpd/refclock_conf.c index efe096647bd8..430c4a60f3fa 100644 --- a/usr.sbin/xntpd/xntpd/refclock_conf.c +++ b/usr.sbin/xntpd/xntpd/refclock_conf.c @@ -92,6 +92,12 @@ extern struct refclock refclock_msfees; #define refclock_msfees refclock_none #endif +#if defined(GPSTM) || defined(GPSTMCLK) || defined(GPSTMPPS) +extern struct refclock refclock_gpstm; +#else +#define refclock_gpstm refclock_none +#endif + /* * Order is clock_start(), clock_shutdown(), clock_poll(), * clock_control(), clock_init(), clock_buginfo, clock_flags; @@ -114,6 +120,7 @@ struct refclock *refclock_conf[] = { &refclock_tpro, /* 12 REFCLK_IRIG_TPRO */ &refclock_leitch, /* 13 REFCLK_ATOM_LEITCH */ &refclock_msfees, /* 14 REFCLK_MSF_EES */ + &refclock_gpstm, /* 15 REFCLK_GPSTM_TRUETIME */ }; u_char num_refclock_conf = sizeof(refclock_conf)/sizeof(struct refclock *); |