From owner-freebsd-hackers Sun Sep 30 14:22:39 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 3EC7837B409 for ; Sun, 30 Sep 2001 14:18:32 -0700 (PDT) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.4/8.11.4) with ESMTP id f8ULIRv07492; Sun, 30 Sep 2001 23:18:31 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Bart Kus Cc: hackers@freebsd.org Subject: Re: sio modification In-Reply-To: Your message of "Sun, 30 Sep 2001 16:04:50 CDT." <200109301600.21610@EO> Date: Sun, 30 Sep 2001 23:18:27 +0200 Message-ID: <7490.1001884707@critter> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200109301600.21610@EO>, Bart Kus writes: >On Sunday 30 September 2001 13:18, you wrote: >> It's in sio.c already. > > Sorry to bug you again, but it seems that the PPS driver for sio doesn't >support PPS_CANWAIT. Am I correct in that assessment? Without blocking, I >don't see any other mechanism for event-driven execution. The RFC seems to Yes, you'll have to poll, sorry... >hint towards sampling at the Nyquist frequency in the case of a missing >PPS_CANWAIT. Establishing an 80kHz loop is pretty much impossible given the >100Hz resolution of nanosleep() and friends. > > --Bart > -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message