From owner-cvs-all Thu Mar 15 15:55:24 2001 Delivered-To: cvs-all@freebsd.org Received: from mailgate.originative.co.uk (mailgate.originative.co.uk [62.232.68.68]) by hub.freebsd.org (Postfix) with ESMTP id 6351937B722; Thu, 15 Mar 2001 15:55:20 -0800 (PST) (envelope-from paul@freebsd-services.co.uk) Received: from freebsd-services.co.uk (lobster.originative.co.uk [62.232.68.81]) by mailgate.originative.co.uk (Postfix) with ESMTP id 5F7151D149; Thu, 15 Mar 2001 23:55:09 +0000 (GMT) Message-ID: <3AB15680.295EC22F@freebsd-services.co.uk> Date: Thu, 15 Mar 2001 23:55:44 +0000 From: Paul Richards X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Dag-Erling Smorgrav Cc: =?iso-8859-1?Q?S=F8ren?= Schmidt , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-dma.c ata-raid.c atapi-all.c atapi-all.h atapi-cd.c atapi-fd.c atapi-tape.c References: <200103151536.f2FFaQx27458@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > > Dag-Erling Smorgrav writes: > > These tunables should be exported as read-only sysctls... From a quick look at where ata_dma is used it doesn't look like there'd be any harm in making it writable. Since ata hardware is now swappable this would allow you to select DMA or not depending on whether the next device you were going to plug in supported it or not. Not knowing all the details of how the driver is implemented I'm not sure if that's feasible or not but it looks plausible from the quick look I had at the code. Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message