Date: Tue, 03 Aug 2004 16:53:57 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Barry Bouwsma <freebsd-misuser@remove-NOSPAM-to-reply.NOSPAM.dyndns.dk> Cc: FreeBSD Current <current@freebsd.org> Subject: Re: [HEADSUP] retire TIOCDCDTIMESTAMP Message-ID: <3856.1091544837@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 02 Aug 2004 15:16:42 %2B0200." <200408021316.i72DGfO86307@Mail.NOSPAM.DynDNS.dK>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200408021316.i72DGfO86307@Mail.NOSPAM.DynDNS.dK>, Barry Bouwsma writes: >Basically, my TIOC*TIMESTAMP hacks allowed me to gather timestamps >from the four status lines, to be used by programs that could >handle four sources of PPS data on a single port. I'd like to >be able to do that with PPS-API as well, if possible. I tried to get multi-signal handling into the PPS-API and my failure in that was a large part of the reason why I asked to not be listed as an author of the RFC. On the other hand, if you have very special needs, which I think timestamping four signals with one serial port is, I would advocate rolling your own. You may want to look at the dev/ppbus/pps.c driver for inspiration. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3856.1091544837>