Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2003 12:14:15 +0200 (CEST)
From:      Soren Schmidt <sos@spider.deepcore.dk>
To:        Johny Mattsson <lonewolf-freebsd@earthmagic.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: "official" way of changing ATA modes on boot?
Message-ID:  <200310131014.h9DAEFue010183@spider.deepcore.dk>
In-Reply-To: <3F8A72DD.5020104@earthmagic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310131014.h9DAEFue010183>