pata_pdc202xx_old: Fix crashes with ATAPI
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Sat, 19 Jan 2008 15:51:26 +0000 (15:51 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 20 Jan 2008 05:29:39 +0000 (21:29 -0800)
commitaa8f2371c564fc9b289dab3a8ecd93212d021fd2
treee8a8cd8e623ec37b68a0d7d9345b80898ceaa1f4
parent5db501d7e398c6a838a307adf0347cf6a2b015a3
pata_pdc202xx_old: Fix crashes with ATAPI

The PDC202xx older devices do not support ATAPI DMA via the usual
interfaces. What documentation I have isn't sufficient to support DMA and
it isn't clear if the Windows drivers do this or it is possible at all.
(Neither do the drivers/ide old drivers)

So turn it ATAPI DMA off, these are disk optimised controllers.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/pata_pdc202xx_old.c