Lines Matching +full:on +full:- +full:board
4 * - clock driver for hopf 6039 PCI board (GPS or DCF77)
11 * the PCI-board driver for your system first.
13 * On Linux/UNIX
17 * the kernel module for the PCI-bus board. The driver sources
18 * belongs to the delivery equipment of the PCI-board.
20 * On Windows NT/2000
24 * Device Driver for the PCI-bus board. The driver belongs to the
25 * delivery equipment of the PCI-board.
63 #define PRECISION (-10) /* precision assumed (1 ms) */
65 #define DESCRIPTION "hopf Elektronik PCI radio board"
113 * hopfpci_start - attach to hopf PCI board 6039
141 pp = peer->procptr;
142 pp->io.clock_recv = noentry;
143 pp->io.srcclock = peer;
144 pp->io.datalen = 0;
145 pp->io.fd = INVALID_SOCKET;
146 pp->unitptr = up;
148 get_systime(&pp->lastrec);
153 memcpy((char *)&pp->refid, REFID, 4);
154 peer->precision = PRECISION;
155 pp->clockdesc = DESCRIPTION;
156 up->leap_status = 0;
157 up->unit = (short) unit;
163 * hopfpci_shutdown - shut down the clock
177 if (NULL != peer->procptr->unitptr)
178 free(peer->procptr->unitptr);
183 * hopfpci_poll - called by the transmit procedure
194 pp = peer->procptr;
203 pp->polls++;
205 pp->day = ymd2yd(m_time.wYear,m_time.wMonth,m_time.wDay);
206 pp->hour = m_time.wHour;
207 pp->minute = m_time.wMinute;
208 pp->second = m_time.wSecond;
209 pp->nsec = m_time.wMilliseconds * 1000000;
211 pp->leap = LEAP_ADDSECOND;
213 pp->leap = LEAP_NOWARNING;
215 snprintf(pp->a_lastcode, sizeof(pp->a_lastcode),
217 m_time.wStatus, pp->hour, pp->minute, pp->second,
218 pp->nsec / 1000000, m_time.wDay, m_time.wMonth,
220 pp->lencode = (u_short)strlen(pp->a_lastcode);
222 get_systime(&pp->lastrec);
229 pp->leap = LEAP_NOTINSYNC;
234 * Test if time is running on internal quarz
239 if ((pp->sloppyclockflag & CLK_FLAG1) == 0) {
241 pp->leap = LEAP_NOTINSYNC;
250 pp->lastref = pp->lastrec;
252 record_clock_stats(&peer->srcadr, pp->a_lastcode);