From owner-freebsd-current@FreeBSD.ORG Mon Oct 13 03:14:55 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2361616A4B3 for ; Mon, 13 Oct 2003 03:14:55 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2E9543FAF for ; Mon, 13 Oct 2003 03:14:53 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: from spider.deepcore.dk (localhost [127.0.0.1]) by spider.deepcore.dk (8.12.10/8.12.10) with ESMTP id h9DAEFsi010184; Mon, 13 Oct 2003 12:14:15 +0200 (CEST) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.10/8.12.10/Submit) id h9DAEFue010183; Mon, 13 Oct 2003 12:14:15 +0200 (CEST) (envelope-from sos) From: Soren Schmidt Message-Id: <200310131014.h9DAEFue010183@spider.deepcore.dk> In-Reply-To: <3F8A72DD.5020104@earthmagic.org> To: Johny Mattsson Date: Mon, 13 Oct 2003 12:14:15 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-mail-scanned: by DeepCore Virus & Spam killer v1.3 cc: freebsd-current@FreeBSD.ORG Subject: Re: "official" way of changing ATA modes on boot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2003 10:14:55 -0000 It seems Johny Mattsson wrote: > Hi all, > > Quick question: Is there an "official" way of changing ATA modes on > boot/startup? I grepped my /etc/rc.d (5.1-R) for 'atacontrol' and did a > quick search of the archives, but both came up empty, so I'm guessing > there isn't. > > I'm quite happy to write up an rc script for it, but I figured I'd > double check so I don't write it for nothing. :) > > The reason I'm asking is that I have a couple of IDE CDROM drives that I > want to enable DMA on (yes, they grok DMA). You can control the ATA driver boot behavior in loader.conf with these: hw.ata.ata_dma="1" hw.ata.atapi_dma="1" hw.ata.wc="1" -Søren