Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 10:19:57 +0100 (CET)
From:      Andrzej Bialecki <abial@webgiro.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Soren Schmidt <sos@freebsd.dk>, 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
Message-ID:  <Pine.BSF.4.20.0101311019240.52835-100000@mx.webgiro.com>
In-Reply-To: <XFMail.010130163115.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

//  <abial@webgiro.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0101311019240.52835-100000>