From owner-freebsd-current Wed Sep 30 14:30:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA00769 for freebsd-current-outgoing; Wed, 30 Sep 1998 14:30:35 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from home.dragondata.com (home.dragondata.com [204.137.237.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA00637 for ; Wed, 30 Sep 1998 14:30:18 -0700 (PDT) (envelope-from toasty@home.dragondata.com) Received: (from toasty@localhost) by home.dragondata.com (8.8.8/8.8.5) id QAA18323; Wed, 30 Sep 1998 16:29:40 -0500 (CDT) From: Kevin Day Message-Id: <199809302129.QAA18323@home.dragondata.com> Subject: Re: Long IDE probes? In-Reply-To: <19980930130459.A4393@Denninger.Net> from Karl Denninger at "Sep 30, 98 01:04:59 pm" To: karl@Denninger.Net (Karl Denninger) Date: Wed, 30 Sep 1998 16:29:39 -0500 (CDT) Cc: tom@uniserve.com, dnelson@emsphone.com, bright@hotjobs.com, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Are the delay lengths reasonable? I don't know. Aren't there specs on > > > this stuff from the IDE and SCSI camps? > > > > The IDE delays just don't exist if you don't bother probing for devices > > that aren't there. > > The IDE delays are far, far too long, unless someone can convince me that > *after booting* a device would require *another* 30 seconds to come ready > (remember, we're talking after power-on, not from the time the kernel is > done loading). To shed some light.... This is all according to the ATA specs: We throw a hardware reset. The device must set the BSY flag within 400ns, after RESET- is turned off. If we can see BSY, the device is there. We should be able to stop at this point, as suposedly this is a yes/no test for a device being present. However, after this, we're supposed to do some magic, then the device has 31 seconds to respond. Possibly there are some rogue devices/chipsets out there that fool the driver with the BSY test, and so we're forced to wait for the full 31 seconds for the reply? Not sure, but that's what the 'standard' is. Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message