From owner-cvs-all Wed Jan 31 1:15:52 2001 Delivered-To: cvs-all@freebsd.org Received: from mimer.webgiro.com (unknown [213.162.128.50]) by hub.freebsd.org (Postfix) with ESMTP id BD95037B503; Wed, 31 Jan 2001 01:15:32 -0800 (PST) Received: by mimer.webgiro.com (Postfix, from userid 66) id 175662DC0B; Wed, 31 Jan 2001 10:21:57 +0100 (CET) Received: by mx.webgiro.com (Postfix, from userid 1001) id 9FC5E7817; Wed, 31 Jan 2001 10:19:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 9303310E1B; Wed, 31 Jan 2001 10:19:59 +0100 (CET) Date: Wed, 31 Jan 2001 10:19:57 +0100 (CET) From: Andrzej Bialecki To: John Baldwin Cc: Soren Schmidt , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, sos@FreeBSD.org, mjacob@feral.com, msmith@FreeBSD.org, peter@netplex.com.au Subject: Re: cvs commit: src/sys/dev/ata ata-disk.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 30 Jan 2001, John Baldwin wrote: > > On 30-Jan-01 Soren Schmidt wrote: > > It seems Peter Wemm wrote: > >> > >> I had a sysctl to turn it on/off globally for all drives. I never got > >> around > >> to making it per-drive. > >> > >> A stale, very old version is at: > >> http://people.freebsd.org/~peter/wce.diff > >> > >> Replicating the hw.atamodes dma/pio thing is probably the ticket though. > > > > And that is exactly what I have in the works for other things, and as > > I said I'll add WCE to it, but in the meantime I think an option > > will do just fine... > > Actually, having dynaic per-device sysctls such as: > > hw.ata.ad0.wce=1 > hw.ata.ad0.mode=dma > hw.ata.acd1.mode=pio > ... > etc. > > would be nice. Maybe what you want is the sysctl_add_oid(9)? Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message