From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 8 13:41:05 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60C3F16A4CE for ; Thu, 8 Jul 2004 13:41:05 +0000 (GMT) Received: from as6-1-5.kr.m.bonet.se (as6-1-5.kr.m.bonet.se [217.215.84.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F92E43D62 for ; Thu, 8 Jul 2004 13:41:04 +0000 (GMT) (envelope-from martin@gneto.com) Received: from [192.168.10.11] (euklides.gneto.com [192.168.10.11]) by as6-1-5.kr.m.bonet.se (Postfix) with ESMTP id C7A82743D7; Thu, 8 Jul 2004 15:37:32 +0200 (CEST) Message-ID: <40ED4EC5.8010003@gneto.com> Date: Thu, 08 Jul 2004 15:40:21 +0200 From: Martin Nilsson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040703 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Avleen Vig References: <20040708081726.GD5238@silverwraith.com> In-Reply-To: <20040708081726.GD5238@silverwraith.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Adding DMA support for a device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 13:41:05 -0000 Avleen Vig wrote: > The drive supports DMA, and Windows sets it to use UDMA mode 5 (I > think), but BSD does not. > > Can anyone point me in the right direction for this? > have you tried man ata ? The following tunables are settable from the loader: hw.ata.atapi_dma set to 1 for DMA access, 0 for PIO (default is PIO). /Martin