From owner-freebsd-stable Tue Apr 10 17:28:40 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ece.cmu.edu (ECE.CMU.EDU [128.2.236.200]) by hub.freebsd.org (Postfix) with ESMTP id 1DEF037B423 for ; Tue, 10 Apr 2001 17:28:28 -0700 (PDT) (envelope-from allbery@ece.cmu.edu) Received: from rushlight.rem.cmu.edu (ANNEX-5.ECE.CMU.EDU [128.2.136.5]) (authenticated) by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id f3B0Rgr12078; Tue, 10 Apr 2001 20:27:42 -0400 (EDT) Date: Tue, 10 Apr 2001 20:27:40 -0400 From: "Brandon S. Allbery KF8NH" To: Cyrille Lefevre Cc: freebsd-stable@FreeBSD.ORG Subject: Re: ATA_ENABLE_ATAPI_DMA gone? Message-ID: <236930000.986948860@rushlight.rem.cmu.edu> In-Reply-To: X-Mailer: Mulberry/2.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, April 11, 2001 01:56:34 +0200, clefevre-lists@noos.fr wrote: +---- | "Bruce A. Mah" writes: | | > > It seems that they've been moved, the new ata(4) explains how to set | them > > (ie from the loader) | > | > And it's also mentioned in RELNOTES.TXT: | > | > # To provide more flexible configuration, the various options for the | > # ata(4) driver are now boot loader tunables, rather than kernel | > # configure-time options. | | the ata(4) manual page isn't clear about the difference between | hw.ata.ata_dma (where ata-disk.c says ATA disk DMA mode control) and | hw.ata.atapi_dma (where atapi-all.c says ATAPI device DMA mode control) ? +--->8 As I understand it, ATA disks generally support DMA, and ATAPI devices (floppies, tapes, CDROM/CDRW, etc.) generally don't; but some (many?) ATAPI devices claim to support it due to buggy firmware. So you have to enable DMA for ATAPI devices manually, if you want it and you know that you have ATAPI devices which don't falsely report DMA capability. -- brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering KF8NH carnegie mellon university ["better check the oblivious first" -ke6sls] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message