Why is ATAPI DMA disabled by default ?

Maxim Konovalov maxim at macomnet.ru
Wed Aug 13 22:27:00 PDT 2003


On Thu, 14 Aug 2003, 01:45+0300, Alexander Serkov wrote:

> I use 5.1-current and have found that by default FreeBSD disables ATAPI's
> support for DMA transfers and thus uses CPU hungry PIO modes.
> It even makes sysctl used to change this read-only.
> I had changed the default value of atapi_dma to 1 in dev/ata/atapi-all.c to 1
> and it worked fine for me.

Hint: put hw.ata.atapi_dma="1" in /boot/loader.conf.

-- 
Maxim Konovalov, maxim at macomnet.ru, maxim at FreeBSD.org


More information about the freebsd-hackers mailing list