summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_mv.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-06-17 05:36:26 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-06-19 02:27:49 +0200
commit5895ef9a5b746e7cc9ebda50c87fbd11562da0a4 (patch)
tree264ed72edfef60f11260f3227523334b1e1aca80 /drivers/ata/sata_mv.c
parentahci: jmb361 has only one port (diff)
downloadlinux-5895ef9a5b746e7cc9ebda50c87fbd11562da0a4.tar.xz
linux-5895ef9a5b746e7cc9ebda50c87fbd11562da0a4.zip
libata: don't check whether to use DMA or not for no data commands
There's no reason to check whether to use DMA or not for no data commands. Don't do it. While at it, make local variable using_pio in atapi_xlat() set iff ATAPI_PROT_PIO is going to be used and rename ata_check_atapi_dma() to atapi_check_dma() for consistency. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/sata_mv.c')
0 files changed, 0 insertions, 0 deletions