]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sata_mv: optimize use of mv_edma_cfg
authorMark Lord <liml@rtr.ca>
Fri, 30 Jan 2009 23:52:58 +0000 (18:52 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Mar 2009 02:02:38 +0000 (22:02 -0400)
commit66e57a2cb0c538d4f84a7233c224735fe1eaa672
tree46ef73b2e5f3bc25d320b9ed7040dc0181d5883d
parentda14265e776f35067045b8555b5f5f7521e50bc4
sata_mv: optimize use of mv_edma_cfg

Try and avoid unnecessary reconfiguration of the EDMA config register
on every single non-EDMA I/O operation, by moving the call to
mv_edma_cfg() into mv_stop_edma().  It must then also be invoked
from mv_hardreset() and from mv_port_start().

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c