From owner-freebsd-current Wed Sep 30 23:39:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA27540 for freebsd-current-outgoing; Wed, 30 Sep 1998 23:39:46 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [212.242.40.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA27519 for ; Wed, 30 Sep 1998 23:39:43 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.9.1/8.9.1) id IAA10066; Thu, 1 Oct 1998 08:37:40 +0200 (CEST) (envelope-from sos) Message-Id: <199810010637.IAA10066@sos.freebsd.dk> Subject: Re: Long IDE probes? In-Reply-To: <199809302357.QAA04228@dingo.cdrom.com> from Mike Smith at "Sep 30, 98 04:57:08 pm" To: mike@smith.net.au (Mike Smith) Date: Thu, 1 Oct 1998 08:37:40 +0200 (CEST) Cc: toasty@home.dragondata.com, karl@Denninger.Net, tom@uniserve.com, dnelson@emsphone.com, bright@hotjobs.com, current@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In reply to Mike Smith who wrote: > > This (like much of the ATA code) calls for a complete rewrite. Which > is underway. But for now, it's difficult to work around it "properly" > without risking breaking support for older or nonconformant hardware. Maybe I should chime in here as I'm doing the rewrite :) I'm dealing differently with the probes now, in fact I dont see the long delays if the HW isn't there. I simply look for valid regs at the "known" addresses, and if none is there it fails very early in the probe. This has the disadvantage that if "strange" HW is present at those addresses, we will still see a timeout happening, but in most of the cases it will just work. Also I dont wait for an ATA (disk) device to time out before I probe for an ATAPI device. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end? .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message