pata_ali: disable ATAPI DMA
authorTejun Heo <htejun@gmail.com>
Thu, 3 Apr 2008 05:40:55 +0000 (14:40 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 4 Apr 2008 06:43:38 +0000 (02:43 -0400)
commit8243e636c060fe7c10c9cf3bf53fdd2d48901525
tree0324fb9ab401b403333a9d25ac87f0358a86c9ef
parente52dcc4899cf1b7601379c31542bd91cd2997a64
pata_ali: disable ATAPI DMA

ATAPI DMA just doesn't work reliably on pata_ali.  The IDE driver can
do it but for some mysterious reason, pata_ali can't.  This patch
disables it by default and makes the driver whine during
initialization.  "pata_ali.atapi_dma" parameter is added so that user
can bypass the workaround.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_ali.c