From owner-freebsd-current Thu Oct 1 01:09:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA08976 for freebsd-current-outgoing; Thu, 1 Oct 1998 01:09:07 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from antioche.lip6.fr (antioche.lip6.fr [132.227.61.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA08958 for ; Thu, 1 Oct 1998 01:08:58 -0700 (PDT) (envelope-from bouyer@antioche.lip6.fr) Received: from antifer.ipv6.lip6.fr (antifer.ipv6.lip6.fr [132.227.72.132]) by antioche.lip6.fr (8.8.8/8.8.5) with ESMTP id KAA24688; Thu, 1 Oct 1998 10:07:58 +0200 (MEST) Received: (bouyer@localhost) by antifer.ipv6.lip6.fr (8.8.8/8.6.4) id KAA25786; Thu, 1 Oct 1998 10:07:57 +0200 (MEST) Message-ID: <19981001100757.56242@antioche.lip6.fr> Date: Thu, 1 Oct 1998 10:07:57 +0200 From: Manuel Bouyer To: Mike Smith Cc: Kevin Day , Karl Denninger , tom@uniserve.com, dnelson@emsphone.com, bright@hotjobs.com, current@FreeBSD.ORG Subject: Re: Long IDE probes? References: <199809302129.QAA18323@home.dragondata.com> <199809302357.QAA04228@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76e In-Reply-To: <199809302357.QAA04228@dingo.cdrom.com>; from Mike Smith on Wed, Sep 30, 1998 at 04:57:08PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sep 30, Mike Smith wrote > The idealised process is this: > > 1) Check for BSY clear. If set, fail the probe. > 2) Set SRST. > 3) Wait 400ns > 4) Check for BSY set. If clear, fail the probe > 5) Clear SRST. > 6) Wait for 31s for BSY to clear. If still set, fail the probe. > I tried to implement a logic like this one for NetBSD. It doesn't work: 1) will fail with some CDroms (for which the BIOS fails too :) 4) will not work: some PCI IDE chipsets reports 0 in all registers as long as SRST is asserted :( This is what prevented me to avoid the 31s delay in all cases. And yes, I do have a CD drive which may occasionaly take more than 20s to clear BSY. -- Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message