From owner-freebsd-current Sun Nov 24 22:24:29 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 6C8D937B401; Sun, 24 Nov 2002 22:24:28 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1050743E3B; Sun, 24 Nov 2002 22:24:27 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id RAA05025; Mon, 25 Nov 2002 17:24:25 +1100 Date: Mon, 25 Nov 2002 17:37:49 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Marc Fonvieille Cc: freebsd-current@FreeBSD.ORG Subject: Re: Polled mode with device.hints In-Reply-To: <20021124120851.GA207@nosferatu.blackend.org> Message-ID: <20021125172317.A55855-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Sun, 24 Nov 2002, Marc Fonvieille wrote: > Hello, > > I'm currently updating some part of the Handbook for 5.X, and I need > to know how to put some ports like sio0 or ppc0 in polled mode. > > I did a search and tried some syntax like "0" for the irq etc. but no > way to put something in polled mode or to find an info on it. > > It's a "lack" of device.hints(5) and some devices manual pages :) For sio, polled mode is configured by not creating an irq resource. Leave the irq out of the device line in the config file for RELENG_4, and don''t configure a hint for the irq in 5.x. This might not actually work since PNP or ACPI etc may always create an irq resource. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message