From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Amit Kucheria <akucheria@metricsystems.com>
Cc: linux-serial <linux-serial@vger.kernel.org>
Subject: Re: CONFIG_HARD_PPS ?
Date: Fri, 18 Apr 2003 01:15:07 +0300 [thread overview]
Message-ID: <20030417221507.GK29570@mea-ext.zmailer.org> (raw)
In-Reply-To: <1050614393.1501.14.camel@amit.metricsystems.com>
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
prev parent reply other threads:[~2003-04-17 22:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-17 21:19 CONFIG_HARD_PPS ? Amit Kucheria
2003-04-17 22:15 ` Matti Aarnio [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030417221507.GK29570@mea-ext.zmailer.org \
--to=matti.aarnio@zmailer.org \
--cc=akucheria@metricsystems.com \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox