Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 1998 12:15:58 -0700
From:      Warner Losh <imp@village.org>
To:        "Justin T. Gibbs" <gibbs@narnia.plutotech.com>
Cc:        gfm@mira.net (Graham Menhennitt), current@FreeBSD.ORG
Subject:   Re: Adaptec 1542B still not detected 
Message-ID:  <199811251915.MAA26254@harmony.village.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>  

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811251915.MAA26254>