"official" way of changing ATA modes on boot?

Soren Schmidt sos at spider.deepcore.dk
Mon Oct 13 03:14:55 PDT 2003


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


More information about the freebsd-current mailing list