Adding DMA support for a device

Martin Nilsson martin at gneto.com
Thu Jul 8 06:41:05 PDT 2004


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 (default is PIO).

/Martin


More information about the freebsd-hackers mailing list