* CONFIG_HARD_PPS ?
@ 2003-04-17 21:19 Amit Kucheria
2003-04-17 22:15 ` Matti Aarnio
0 siblings, 1 reply; 2+ messages in thread
From: Amit Kucheria @ 2003-04-17 21:19 UTC (permalink / raw)
To: linux-serial
Hi,
I have been studying the serial driver code and found the following
chunk of code in serial.c (2.4.19):
---------------------------------------------------------------
#ifdef CONFIG_HARD_PPS
if ((info->flags & ASYNC_HARDPPS_CD) &&
(status & UART_MSR_DCD))
hardpps();
#endif
---------------------------------------------------------------
There seems to be no reference to it in the current 2.4 and 2.5 kernels.
There are some reference in the 2.2 kernels. Is this cruft left from
previous versions?
Regards,
Amit
--
----------------------------------------------------------------------
Amit Kucheria akucheria@NOSPAMmetricsystems.com
Metric Systems Corp. 2320 Cousteau Court, Suite 201, Vista, CA 92083
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CONFIG_HARD_PPS ?
2003-04-17 21:19 CONFIG_HARD_PPS ? Amit Kucheria
@ 2003-04-17 22:15 ` Matti Aarnio
0 siblings, 0 replies; 2+ messages in thread
From: Matti Aarnio @ 2003-04-17 22:15 UTC (permalink / raw)
To: Amit Kucheria; +Cc: linux-serial
On Thu, Apr 17, 2003 at 02:19:52PM -0700, Amit Kucheria wrote:
> Hi,
>
> I have been studying the serial driver code and found the following
> chunk of code in serial.c (2.4.19):
>
> ---------------------------------------------------------------
> #ifdef CONFIG_HARD_PPS
> if ((info->flags & ASYNC_HARDPPS_CD) &&
> (status & UART_MSR_DCD))
> hardpps();
> #endif
> ---------------------------------------------------------------
>
> There seems to be no reference to it in the current 2.4 and 2.5 kernels.
> There are some reference in the 2.2 kernels. Is this cruft left from
> previous versions?
Sort of. That is used in externally synchronized time-master-keeper
code, where a "1 pulse per second" line from (these days) GPS receiver
is fed to serial port DCD input pin.
It is indeed pity that the full code-set isn't included in kernel
baseline. More people could then use Linux as their NTP master.
> Regards,
> Amit
> Amit Kucheria akucheria@NOSPAMmetricsystems.com
> Metric Systems Corp. 2320 Cousteau Court, Suite 201, Vista, CA 92083
/Matti Aarnio
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-17 22:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-17 21:19 CONFIG_HARD_PPS ? Amit Kucheria
2003-04-17 22:15 ` Matti Aarnio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox