From owner-freebsd-current Mon Nov 25 4:43:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FF5E37B401 for ; Mon, 25 Nov 2002 04:43:23 -0800 (PST) Received: from abigail.blackend.org (blackend.org [212.11.50.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF16643EA9 for ; Mon, 25 Nov 2002 04:43:21 -0800 (PST) (envelope-from marc@blackend.org) Received: from nosferatu.blackend.org (nosferatu.blackend.org [192.168.1.205]) by abigail.blackend.org (8.12.3/8.12.3) with ESMTP id gAPChIW9078312; Mon, 25 Nov 2002 13:43:18 +0100 (CET) (envelope-from marc@abigail.blackend.org) Received: from nosferatu.blackend.org (localhost [127.0.0.1]) by nosferatu.blackend.org (8.12.6/8.12.6) with ESMTP id gAPCfD9w000603; Mon, 25 Nov 2002 13:41:13 +0100 (CET) (envelope-from marc@nosferatu.blackend.org) Received: (from marc@localhost) by nosferatu.blackend.org (8.12.6/8.12.6/Submit) id gAPCf6UR000602; Mon, 25 Nov 2002 13:41:06 +0100 (CET) Date: Mon, 25 Nov 2002 13:41:06 +0100 From: Marc Fonvieille To: Bruce Evans Cc: freebsd-current@FreeBSD.ORG Subject: Re: Polled mode with device.hints Message-ID: <20021125124105.GC210@nosferatu.blackend.org> References: <20021125101719.GA210@nosferatu.blackend.org> <20021125214416.T56549-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021125214416.T56549-100000@gamplex.bde.org> User-Agent: Mutt/1.4i X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.7-STABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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