From owner-freebsd-current Sat Jul 24 16:36: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 2F36F14E93 for ; Sat, 24 Jul 1999 16:36:00 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id JAA10442; Sun, 25 Jul 1999 09:35:36 +1000 Date: Sun, 25 Jul 1999 09:35:36 +1000 From: Bruce Evans Message-Id: <199907242335.JAA10442@godzilla.zeta.org.au> To: bde@zeta.org.au, nsouch@teaser.fr Subject: Re: PLIP is still broken :( Cc: current@FreeBSD.ORG, des@flood.ping.uio.no, obrien@NUXI.com, sobomax@altavista.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>Possible quick fix (hack): change all the spltty()'s in lpt.c to >>splnet()'s. lpt isn't a tty driver; it just abuses spltty(). Abusing >>splnet() instead should work OK for lpt and fix if_plip. > >This seems good until the intr stuff handle dynamic update of a interrupt spl. >Is there some work in progress on that? Not much. ppc needs to do most of the work by registering its interrupt with the correct interrupt maskptr for the currently attached device. This may involve unregistering the interrupt when the device changes. The generic code could help here by supporting atomic changing of interrupt maskptrs without unregistering the interrupt. Otherwise, the generic code is missing mainly update of the interrupt masks when an interrupt is unregistered. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message