From owner-cvs-sys Tue Mar 21 22:18:33 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA22715 for cvs-sys-outgoing; Tue, 21 Mar 1995 22:18:33 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA22709; Tue, 21 Mar 1995 22:18:31 -0800 Received: (from phk@localhost) by ref.tfs.com (8.6.8/8.6.6) id WAA04027; Tue, 21 Mar 1995 22:17:39 -0800 From: Poul-Henning Kamp Message-Id: <199503220617.WAA04027@ref.tfs.com> Subject: Re: cvs commit: src/sys/i386/isa wd.c wdreg.h To: bde@zeta.org.au (Bruce Evans) Date: Tue, 21 Mar 1995 22:17:38 -0800 (PST) Cc: davidg@freefall.cdrom.com, rgrimes@gndrsh.aac.dev.com, CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com In-Reply-To: <199503220610.QAA04588@godzilla.zeta.org.au> from "Bruce Evans" at Mar 22, 95 04:10:18 pm Content-Type: text Content-Length: 703 Sender: cvs-sys-owner@freebsd.org Precedence: bulk > >Port 0x84 will not cause the 1.25uS delay on some PCI motherboards, > >I beleive all Intel Neptune and Triton based boards know that this > >is not an ISA address and end up running only a PCI I/O cycle for > >it. Couldn't we just make a spin for a number of updates to the 1.19MHz counter (#2 ?) for this kind of delays ? For 1.25 uS we want to see it change twice: n=2; a= inb(TIMER); while (n--) { while (a == (b = inb(TIMER))) ; a = b; } Wouldn't that be a sensible addition to DELAY (microDELAY ?) -- Poul-Henning Kamp -- TRW Financial Systems, Inc. 'All relevant people are pertinent' && 'All rude people are impertinent' => 'no rude people are relevant'