summaryrefslogtreecommitdiff
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-06-11 09:40:07 (GMT)
committerJeff Garzik <jeff@garzik.org>2007-06-20 23:56:21 (GMT)
commit374abf2cb16a9df8be96675c606996458872e8b3 (patch)
tree7d82b5165a8d6bca8569ed6722413ef5688a294f /drivers/ata/libata-core.c
parent9f7897554eeca34ec23dd877cc27402bd327a1ce (diff)
downloadlinux-fsl-qoriq-374abf2cb16a9df8be96675c606996458872e8b3.tar.xz
pata_it821x: (partially) fix DMA in RAID mode
Code intended to check DMA status was checking DMA command register. Moreover firmware seems to "forget" to set DMA capable bit for the slave device (at least in RAID mode but without ITE RAID volumes) so check device ID for DMA capable bit when deciding whether to use DMA and remove DMA status check completely. Thanks to Pavol Simo for the bugreport and testing the initial fix. This change unfortunately still doesn't fix DMA in RAID mode (which works fine with IDE it821x) but Alan is working on the missing pieces (pata_it821x vs libata EH issues). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Cc: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions