And this, kids, is what happens if you act on a patch without looking

at the mailing list to see if there isn't any more discussion just
around the corner.  Here's the update to the other part of the manpage
that deals with the hw.ata.atapi_dma loader tunable and initializing
ATAPI devices in PIO or DMA mode.

PR:		75021
Submitted by:	Craig Rodrigues <rodrigc@crodrigues.org>
Spotted by:	Joel Dahl <joel@automatvapen.se>
This commit is contained in:
Peter Pentchev 2004-12-21 20:02:50 +00:00
parent 4485f00081
commit 32e940fe6b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139148

View File

@ -161,7 +161,10 @@ or could not be detected properly,
or that one of the devices on the channel only accepts up
to UDMA2/ATA33.
.Pp
ATAPI devices are set to PIO mode by default because severe DMA problems are
Unknown ATAPI devices are initialized to DMA mode if the
.Va hw.ata.atapi_dma
tunable is set to 1 and they support at least UDMA33 transfers.
Otherwise they are set to PIO mode because severe DMA problems are
common even if the device capabilities indicate support.
You can always try to set DMA mode on an ATAPI device using
.Xr atacontrol 8 ,