Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 17:13:09 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Scott Long <scott_long@btc.adaptec.com>
Cc:        Brian Somers <brian@FreeBSD.org>, <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:  <20020411170441.B3455-100000@gamplex.bde.org>
In-Reply-To: <1018452343.10637.2.camel@hollin.btc.adaptec.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 Apr 2002, Scott Long wrote:

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

Jumping through hooks is harder than through hoops, but may be necessary.
config_intrhook_establish() is part of Justin Gibbs' solution for the
problem that interrupts might not work at config time.  Even clock
interrupts might not work at config time, so device drivers shouldn't
call timeout() at config time.

Bruce


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?20020411170441.B3455-100000>