Re: official way of changing ATA modes on boot?

2003-10-13 Thread Soren Schmidt
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: official way of changing ATA modes on boot?

2003-10-13 Thread Johny Mattsson
Soren Schmidt wrote:
You can control the ATA driver boot behavior in loader.conf with these:

hw.ata.atapi_dma=1
Doh. I can't believe I'd forgotten about that knob. Thanks for jogging 
my memory - it worked like a charm! :)

Cheers,
/Johny
--
Johny Mattsson - System Designer ,-.   ,-.   ,-.  There is no truth.
http://www.earthmagic.org _.'  `-'   `-'  There is only perception.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]