Date: Tue, 12 Jan 1999 00:29:39 +0100 From: Eivind Eklund <eivind@FreeBSD.ORG> To: Nicolas Souchu <nsouch@teaser.fr> Cc: Bruce Evans <bde@zeta.org.au>, mike@smith.net.au, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/ppbus if_plip.c Message-ID: <19990112002939.X40114@bitbox.follo.net> In-Reply-To: <19990111231008.07819@breizh.prism.uvsq.fr>; from Nicolas Souchu on Mon, Jan 11, 1999 at 11:10:08PM %2B0000 References: <199901111619.DAA15585@godzilla.zeta.org.au> <19990111180819.P40114@bitbox.follo.net> <19990111231008.07819@breizh.prism.uvsq.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 11, 1999 at 11:10:08PM +0000, Nicolas Souchu wrote: > On Mon, Jan 11, 1999 at 06:08:20PM +0100, Eivind Eklund wrote: > >I have successfully called multiple spl registration functions from > >the attach function of a driver. This was necessary to get the BISDN > >tty code to work. > > Any good pointer to your code? Eh - it is too trivial for the code to be of much use (besides which re-distribution would probably be against some of the authors' wishes). The relevant parts are +/* XXX For blocking interrupts */ +#include <i386/isa/icu.h> ... and in the attach function: + /* XXX block interrupts XXX */ + INTRMASK(tty_imask, is->id_irq); + INTRMASK(net_imask, is->id_irq); + I don't know how the new bus framework will like this kind of behaviour, though. Eivind. 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?19990112002939.X40114>