Adding DMA support for a device

2004-07-08 Thread Avleen Vig
I have a DVD drive which is recognised by FreeBSD: acd0: DVD-R DVD-RW IDE1004 at ata1-slave PIO4 The drive supports DMA, and Windows sets it to use UDMA mode 5 (I think), but BSD does not. I am assume because the device is not listed as supported correct driver? I had a look in ata-dma.c but

Re: Adding DMA support for a device

2004-07-08 Thread Martin Nilsson
Avleen Vig wrote: The drive supports DMA, and Windows sets it to use UDMA mode 5 (I think), but BSD does not. Can anyone point me in the right direction for this? have you tried man ata ? The following tunables are settable from the loader: hw.ata.atapi_dma set to 1 for DMA access, 0 for PIO

Re: Adding DMA support for a device

2004-07-08 Thread Joerg Sonnenberger
On Thu, Jul 08, 2004 at 01:17:26AM -0700, Avleen Vig wrote: I have a DVD drive which is recognised by FreeBSD: acd0: DVD-R DVD-RW IDE1004 at ata1-slave PIO4 Can anyone point me in the right direction for this? hw.ata.atapi_dma=1 in /boot/loader.conf. DMA for ATAPI is not active by default