Skip site navigation (1)Skip section navigation (2)
Date:      10 Apr 2002 10:25:43 -0500
From:      Scott Long <scott_long@btc.adaptec.com>
To:        Brian Somers <brian@freebsd.org>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/digi digi.c digi.h digi_isa.c
Message-ID:  <1018452343.10637.2.camel@hollin.btc.adaptec.com>
In-Reply-To: <200204101432.g3AEWu495914@freefall.freebsd.org>
References:  <200204101432.g3AEWu495914@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.1">
</HEAD>
<BODY>
On Wed, 2002-04-10 at 09:32, Brian Somers wrote: 
<PRE><FONT COLOR="#737373">&gt; brian       2002/04/10 07:32:56 PDT</FONT>
<FONT COLOR="#737373">&gt; </FONT>
<FONT COLOR="#737373">&gt;   Modified files:</FONT>
<FONT COLOR="#737373">&gt;     sys/dev/digi         digi.c digi.h digi_isa.c </FONT>
<FONT COLOR="#737373">&gt;   Log:</FONT>
<FONT COLOR="#737373">&gt;   Yet another adjustment of digi_delay().  The delay is now consistent</FONT>
<FONT COLOR="#737373">&gt;   irrespective of whether tsleep() or DELAY() is used.</FONT>
<FONT COLOR="#737373">&gt;   </FONT>
<FONT COLOR="#737373">&gt;   Revision  Changes    Path</FONT>
<FONT COLOR="#737373">&gt;   1.27      +8 -8      src/sys/dev/digi/digi.c</FONT>
<FONT COLOR="#737373">&gt;   1.12      +2 -1      src/sys/dev/digi/digi.h</FONT>
<FONT COLOR="#737373">&gt;&nbsp;&nbsp; 1.9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +9 -9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; src/sys/dev/digi/digi_isa.c</FONT></PRE>
Brian, 
<BR>

<BR>
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?&nbsp; This will work for both the at-boot and post-boot cases.
<BR>

<BR>
Scott
</BODY>
</HTML>

--=-xfSIsHiHRNqKAAGwuGEK--

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




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