From owner-cvs-all Sat May 11 12:50:20 2002 Delivered-To: cvs-all@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 06A6637B408; Sat, 11 May 2002 12:50:11 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id VAA04179; Sat, 11 May 2002 21:50:04 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id g4BJmtk20085; Sat, 11 May 2002 21:48:55 +0200 (MET DST) (envelope-from j) Date: Sat, 11 May 2002 21:48:55 +0200 From: Joerg Wunsch To: "M. Warner Losh" Cc: brian@Awfulhak.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/isa fd.c fdreg.h Message-ID: <20020511214855.G91528@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mail-Followup-To: Joerg Wunsch , "M. Warner Losh" , brian@Awfulhak.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200205110015.g4B0F8nA006576@hak.lan.Awfulhak.org> <20020511082352.E91528@uriah.heep.sax.de> <20020511.111210.41215654.imp@village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020511.111210.41215654.imp@village.org>; from imp@village.org on Sat, May 11, 2002 at 11:12:10AM -0600 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As M. Warner Losh wrote: > : (The man page for DELAY(9) doesn't mention any restriction > : either.) > > DELAY is always safe to use. That was my impression now, too. > However, it is highly undesireable to > use it for large values if !cold. The value is 1. :) There's an outer spin loop around the DELAY(1) that waits for a certain bit pattern in the FDC main status register to appear. Normally, the bit pattern should appear within a few microseconds at most. This is as undesirable as any PIO data transfer, but unavoidable for the archaic underlying floppy controller hardware. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message