From owner-freebsd-current@FreeBSD.ORG Tue Aug 3 14:54:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C50B16A4CE for ; Tue, 3 Aug 2004 14:54:00 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE47543D49 for ; Tue, 3 Aug 2004 14:53:59 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i73ErvXx003857; Tue, 3 Aug 2004 16:53:57 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Barry Bouwsma From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 02 Aug 2004 15:16:42 +0200." <200408021316.i72DGfO86307@Mail.NOSPAM.DynDNS.dK> Date: Tue, 03 Aug 2004 16:53:57 +0200 Message-ID: <3856.1091544837@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: FreeBSD Current Subject: Re: [HEADSUP] retire TIOCDCDTIMESTAMP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2004 14:54:00 -0000 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.