From owner-freebsd-isdn Mon Jan 10 23:40: 4 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from mail.sparud.net (hinken.sparud.net [193.12.107.26]) by hub.freebsd.org (Postfix) with ESMTP id EF2401541E for ; Mon, 10 Jan 2000 23:40:00 -0800 (PST) (envelope-from jan@sparud.net) Received: by mail.sparud.net (Postfix, from userid 10) id 47E9A3E24; Tue, 11 Jan 2000 08:39:58 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14458.56909.341914.749803@hinken.sparud.net> Date: Tue, 11 Jan 2000 08:39:57 +0100 (CET) To: Gary Jennejohn Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: LCP loop problem fixed In-Reply-To: <200001102248.XAA63204@peedub.muc.de> References: <14456.50094.237265.228095@hinken.sparud.net> <200001102248.XAA63204@peedub.muc.de> X-Mailer: VM 6.75 under Emacs 20.3.1 From: jan@sparud.net (Jan Sparud) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I agree it must be very hardware dependent. > This is great stuff and I'm glad you took the time to find and fix > the (apparent) bug. I only have one comment - where you define HZ as > 100. This information can be obtained from the kernel using > sysctl. There's a good example in /usr/src/lib/libc/gmon/gmon.c > where clockinfo is used. I knew about getting hz in NetBSD (via sysctl), but after looking at the tons of code in the ntp source to get hz, I thought that was no portable way of getting it, and since I didn't know if this was of any use to anyone else I chose the least portable way of all ;-) If this goes into the tree, that must obviously change, therefore the comment on the preceding line. I'll be away now for the rest of the week, so I can't answer any follow-ups. /Janne To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message