Date: Thu, 11 Apr 2002 10:57:24 +0100 From: Brian Somers <brian@freebsd-services.com> To: Bruce Evans <bde@zeta.org.au> Cc: Brian Somers <brian@freebsd-services.com>, Scott Long <scott_long@btc.adaptec.com>, Brian Somers <brian@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com Subject: Re: cvs commit: src/sys/dev/digi digi.c digi.h digi_isa.c Message-ID: <200204110957.g3B9vOOF032721@hak.lan.Awfulhak.org> In-Reply-To: Message from Bruce Evans <bde@zeta.org.au> of "Thu, 11 Apr 2002 17:17:11 %2B1000." <20020411171354.R3455-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 10 Apr 2002, Brian Somers wrote:
>
> > > [Brian Somers didn't write]
> > > 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.
> >
> > While this would be a clean way of doing things, I'd prefer not to
> > defer the card initialisation. Ultimately I'd like to be able to use
> > the device as a console.
>
> The low level parts of the console driver can't use interrupts, and the
> high level parts are insignificantly different from ordinary tty drivers.
Digiboards don't need to use interrupts, although I haven't tested
how fast they can go without them. In fact I've never tried to get
the interrupt code working in digi. At the moment the driver uses a
polling ``thread'' (really a timeout() that calls itself), but sio
uses timeout() too so I guess that's ok (maybe).
> Bruce
--
Brian <brian@freebsd-services.com> <brian@Awfulhak.org>
http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org>
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?200204110957.g3B9vOOF032721>
