From owner-cvs-all Tue Jan 30 3:15:31 2001 Delivered-To: cvs-all@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id A1E4D37B503; Tue, 30 Jan 2001 03:15:08 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id MAA98242; Tue, 30 Jan 2001 12:14:53 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200101301114.MAA98242@freebsd.dk> Subject: Re: cvs commit: src/sys/dev/ata ata-disk.c In-Reply-To: from Bruce Evans at "Jan 30, 2001 10:11:24 pm" To: bde@zeta.org.au (Bruce Evans) Date: Tue, 30 Jan 2001 12:14:53 +0100 (CET) Cc: peter@netplex.com.au (Peter Wemm), msmith@FreeBSD.org (Mike Smith), mjacob@feral.com, sos@FreeBSD.org ([?X-UNKNOWN?]), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Bruce Evans wrote: > On Mon, 29 Jan 2001, Peter Wemm wrote: > > > Replicating the hw.atamodes dma/pio thing is probably the ticket though. > > Blech. Sysctl should never be used in device drivers. It doesn't scale > well, and encourages poor user interfaces. I have to agree with you here, I like ioctl's better and that is what I'm going to introduce soon to get attach/detach behavior via an atacontrol util.. Do you have better ideas before I get too far down the road ? -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message