]> git.baikalelectronics.ru Git - kernel.git/commit
pdc202xx_new: Enable ATAPI DMA
authorAlbert Lee <albertcc@tw.ibm.com>
Mon, 26 Mar 2007 21:03:19 +0000 (23:03 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 26 Mar 2007 21:03:19 +0000 (23:03 +0200)
commite7fe2652aa9f15a3c5d308122675e67a78e4acde
treee2c9b4b4b73c4e70f2023fa7c81236a064b9748b
parent436a6e2deaff9fa7c8f2a24f2be75c8216a9ec89
pdc202xx_new: Enable ATAPI DMA

[ bart: the ressurection of 2 years old patch which slipped thru the cracks
  (thanks to Sergei Shtylyov for finding it) ]

These is the patch to turn on pdc202xx_new for ATAPI DMA.  When testing, it
works fine without the (request_bufflen % 256) workaround as needed in libata.
ide-scsi filters out (pc->request_transfer % 1024) and use PIO, so the pdc202xx
ATAPI DMA problem is avoid.  Both ide-cd and ide-scsi won't hit the ATAPI DMA
problem on pdc202xx_new.

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/pdc202xx_new.c