From owner-freebsd-arch Thu Jan 3 14:48:50 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 5459737B419 for ; Thu, 3 Jan 2002 14:48:47 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id JAA04081; Fri, 4 Jan 2002 09:48:37 +1100 Date: Fri, 4 Jan 2002 09:49:03 +1100 (EST) From: Bruce Evans X-X-Sender: To: Poul-Henning Kamp Cc: Mike Silbersack , Subject: Re: DELAY accuracy Re: cvs commit: src/sys/dev/usb uhci.c In-Reply-To: <2971.1010094530@critter.freebsd.dk> Message-ID: <20020104094446.N18171-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 3 Jan 2002, Poul-Henning Kamp wrote: > If we look at DELAY(1), which is a very common value, considering > the typical use, I suspect it may actually be specified not for the > delay as much for various "things to happen", things which might be > better provoked by memory barriers or similar. > > Either way, in i386 I think DELAY(1) would be best implemented as > inb(0x80) This mistake has been made before. inb(0x80) is too fast on some machines. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message