From owner-freebsd-current Wed Nov 25 11:15:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA00712 for freebsd-current-outgoing; Wed, 25 Nov 1998 11:15:43 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA00703 for ; Wed, 25 Nov 1998 11:15:38 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zikPS-0000s9-00; Wed, 25 Nov 1998 12:15:30 -0700 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id MAA26254; Wed, 25 Nov 1998 12:15:59 -0700 (MST) Message-Id: <199811251915.MAA26254@harmony.village.org> To: "Justin T. Gibbs" Subject: Re: Adaptec 1542B still not detected Cc: gfm@mira.net (Graham Menhennitt), current@FreeBSD.ORG In-reply-to: Your message of "Sun, 22 Nov 1998 16:34:05 MST." <199811222334.QAA08681@narnia.plutotech.com> References: <199811222334.QAA08681@narnia.plutotech.com> Date: Wed, 25 Nov 1998 12:15:58 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199811222334.QAA08681@narnia.plutotech.com> "Justin T. Gibbs" writes: : The patch is inappropriate as it won't necessarily solve the problem : on all machines (loop is CPU speed dependant). I've fixed this by using DELAY. : I've been meening : to re-examine the aha probe code to see if we even need to look at : the geometry register. A better approach may be to try an extended : command and succeed the probe only if it fails. This requires the : ability to recovery from an invalid command in the driver and : ensuring that this works on all aha models. Ping me later in the : week and I should have something for you to test. I've tried that in the aha probe, but it locks up some cards (none of the ones that I have, but others that people have reported to me). I originally did do the extended setup command, and failed like this, but I ran into many problems with this. Touching the geometry register (which isn't present on older adaptech cards) seems to be fairly reliable, even if there needs to be some delay before touching it to make sure that we get ff from the read. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message