From owner-cvs-all Thu Apr 11 2:57:46 2002 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 21BE137B41A; Thu, 11 Apr 2002 02:57:40 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [IPv6:fec0::1:12]) by Awfulhak.org (8.12.2/8.11.6) with ESMTP id g3B9vRoi040709; Thu, 11 Apr 2002 10:57:28 +0100 (BST) (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.12.2/8.12.2) with ESMTP id g3B9vOOF032721; Thu, 11 Apr 2002 10:57:24 +0100 (BST) (envelope-from brian@freebsd-services.com) Message-Id: <200204110957.g3B9vOOF032721@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Bruce Evans Cc: Brian Somers , Scott Long , Brian Somers , 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 In-Reply-To: Message from Bruce Evans of "Thu, 11 Apr 2002 17:17:11 +1000." <20020411171354.R3455-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 11 Apr 2002 10:57:24 +0100 From: Brian Somers 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 > 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 http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message