Date: Mon, 25 Nov 2002 13:41:06 +0100 From: Marc Fonvieille <blackend@FreeBSD.ORG> To: Bruce Evans <bde@zeta.org.au> Cc: freebsd-current@FreeBSD.ORG Subject: Re: Polled mode with device.hints Message-ID: <20021125124105.GC210@nosferatu.blackend.org> In-Reply-To: <20021125214416.T56549-100000@gamplex.bde.org> References: <20021125101719.GA210@nosferatu.blackend.org> <20021125214416.T56549-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 25, 2002 at 10:32:46PM +1100, Bruce Evans wrote: [...] > > "lptcontrol -i" and "lptcontrol -p" work for me under -current. They > presumably work because the driver sets up the interrupt for every > write(2) if interrupts are enabled. This used to cause panics because > a thread was created for every write and it was possible for threads > to be created faster than they could exit. But everything except the > thread creation and destruction seems to be necessary because the > interrupt may be switched fairly dynamically between children of ppc0. > I think this means that no one should want to force polled mode at > the ppc0 level, and its children should have control programs like > lptcontrol that permit configuring it if necessary. > Ok, I will investigate more when I will have access to my -CURRENT box. Thanks a lot for your answers. Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021125124105.GC210>