From owner-cvs-all Wed Apr 10 8:29:36 2002 Delivered-To: cvs-all@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id DD17F37B404; Wed, 10 Apr 2002 08:29:26 -0700 (PDT) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g3AFTQj04891; Wed, 10 Apr 2002 08:29:26 -0700 (PDT) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id IAA10441; Wed, 10 Apr 2002 08:29:25 -0700 (PDT) Received: from hollin.btc.adaptec.com (hollin [162.62.149.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id JAA21715; Wed, 10 Apr 2002 09:28:14 -0600 (MDT) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.11.6/8.11.6) id g3AFPho10669; Wed, 10 Apr 2002 09:25:43 -0600 (MDT) (envelope-from scott_long@btc.adaptec.com) X-Authentication-Warning: hollin.btc.adaptec.com: scottl set sender to scott_long@btc.adaptec.com using -f Subject: Re: cvs commit: src/sys/dev/digi digi.c digi.h digi_isa.c From: Scott Long To: Brian Somers Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org In-Reply-To: <200204101432.g3AEWu495914@freefall.freebsd.org> References: <200204101432.g3AEWu495914@freefall.freebsd.org> Content-Type: multipart/alternative; boundary="=-xfSIsHiHRNqKAAGwuGEK" X-Mailer: Evolution/1.0.1 Date: 10 Apr 2002 10:25:43 -0500 Message-Id: <1018452343.10637.2.camel@hollin.btc.adaptec.com> Mime-Version: 1.0 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-xfSIsHiHRNqKAAGwuGEK Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2002-04-10 at 09:32, Brian Somers wrote: > brian 2002/04/10 07:32:56 PDT > > Modified files: > sys/dev/digi digi.c digi.h digi_isa.c > Log: > Yet another adjustment of digi_delay(). The delay is now consistent > irrespective of whether tsleep() or DELAY() is used. > > Revision Changes Path > 1.27 +8 -8 src/sys/dev/digi/digi.c > 1.12 +2 -1 src/sys/dev/digi/digi.h > 1.9 +9 -9 src/sys/dev/digi/digi_isa.c Brian, Instead of jumping through all of these hoops, why can't you do a config_intrhook_establish() to have the delay-sensitive operations done at a more appropriate time? This will work for both the at-boot and post-boot cases. Scott --=-xfSIsHiHRNqKAAGwuGEK Content-Type: text/html; charset=utf-8 On Wed, 2002-04-10 at 09:32, Brian Somers wrote:
> brian       2002/04/10 07:32:56 PDT
> 
>   Modified files:
>     sys/dev/digi         digi.c digi.h digi_isa.c 
>   Log:
>   Yet another adjustment of digi_delay().  The delay is now consistent
>   irrespective of whether tsleep() or DELAY() is used.
>   
>   Revision  Changes    Path
>   1.27      +8 -8      src/sys/dev/digi/digi.c
>   1.12      +2 -1      src/sys/dev/digi/digi.h
>   1.9       +9 -9      src/sys/dev/digi/digi_isa.c
Brian,

Instead of jumping through all of these hoops, why can't you do a config_intrhook_establish() to have the delay-sensitive operations done at a more appropriate time?  This will work for both the at-boot and post-boot cases.

Scott --=-xfSIsHiHRNqKAAGwuGEK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message